Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
Note that variable is passed to mic_do_crop.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebeasi committed Dec 16, 2015
1 parent df0cdd6 commit c0b17a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Please contact me if you want to add a translation (or submit a pull request on
The plugin includes filters that can be used by other plugins:

=mic_do_crop=
Provides $do_crop (bool) and $metadata (array). Returning false for $do_crop will prevent Manual Image Crop from cropping the image. $metadata contains the crop parameters, so another plugin can take over the actual cropping.
Provides $do_crop (bool), $metadata (array), and $dims (array). Returning false for $do_crop will prevent Manual Image Crop from cropping the image. $metadata contains the crop parameters, so another plugin can take over the actual cropping.

=mic_dst_file_path=
Provides $path (string) and $data (array). Manual Image Crop will write the new image to $path and save that path to the image metadata. $data contains the crop parameters that the user chose in WordPress admin.
Expand Down

0 comments on commit c0b17a1

Please sign in to comment.