string $context, int $attachment_id, string $cropped )
Fires before a cropped image is saved.
Allows to add filters to modify the way a cropped image is saved.
The Customizer control requesting the cropped image.
The attachment ID of the original image.
Path to the cropped image file.
View all references
do_action( 'wp_ajax_crop_image_pre_save', $context, $attachment_id, $cropped );