WordPress at a glance
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_8182', 10, 3 );
function action_function_name_8182( $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.


Since 4.3.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.