WordPress at Your Fingertips
action is not described

wp_ajax_crop_image_pre_save action-hook . WP 4.3.0

Fires before a cropped image is saved.

Allows to add filters to modify the way a cropped image is saved.


add_action( 'wp_ajax_crop_image_pre_save', 'action_function_name_5982', 10, 3 );
function action_function_name_5982( $context, $attachment_id, $cropped ){
	// action...
The Customizer control requesting the cropped image.
The attachment ID of the original image.
Path to the cropped image file.

Where the hook is called

wp-admin/includes/ajax-actions.php 3938
do_action( 'wp_ajax_crop_image_pre_save', $context, $attachment_id, $cropped );

Where in WP core the hook is used WordPress

Usage not found.