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_4169', 10, 2 );
function filter_function_name_4169( $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 3705
$attachment_id = apply_filters( 'wp_ajax_cropped_attachment_id', $attachment_id, $context );

Where the hook is used (in WP core)

Использование не найдено.