wp_ajax_cropped_attachment_metadata filter-hook . WP 4.3.0
Filters the cropped image attachment metadata.
Usage
add_filter( 'wp_ajax_cropped_attachment_metadata', 'filter_function_name_7902' ); function filter_function_name_7902( $metadata ){ // filter... return $metadata; }
- $metadata(array)
- Attachment metadata.
Changelog
Since 4.3.0 | Introduced. |
Where the hook is called
wp_ajax_cropped_attachment_metadata
wp-admin/includes/ajax-actions.php 3953
$metadata = apply_filters( 'wp_ajax_cropped_attachment_metadata', $metadata );