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.


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

	return $attachment_id;
The attachment ID of the cropped image.
The Customizer control requesting the cropped image.

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.