WordPress at a glance
filter is not described

wp_ajax_cropped_attachment_id filter-hook . WP 4.3.0

Filters the attachment ID for a cropped image.

Usage

add_filter( 'wp_ajax_cropped_attachment_id', 'filter_function_name_5703', 10, 2 );
function filter_function_name_5703( $attachment_id, $context ){
	// filter...

	return $attachment_id;
}
$attachment_id(int)
The attachment ID of the cropped image.
$context(string)
The Customizer control requesting the cropped image.

Changelog

Since 4.3.0 Introduced.

Where the hook is called

wp_ajax_crop_image()
wp_ajax_cropped_attachment_id
wp-admin/includes/ajax-actions.php 3963
$attachment_id = apply_filters( 'wp_ajax_cropped_attachment_id', $attachment_id, $context );

Where in WP core the hook is used WordPress

Usage not found.