wp_ajax_cropped_attachment_metadata

wp_ajax_cropped_attachment_metadata

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_ajax_cropped_attachment_metadata') is found 1 times:

  • /wp-admin/includes/ajax-actions.php line 4089
    			 * @see wp_generate_attachment_metadata()
    			 *
    			 * @param array $metadata Attachment metadata.
    			 */
    			$metadata = apply_filters( 'wp_ajax_cropped_attachment_metadata', $metadata );
    			wp_update_attachment_metadata( $attachment_id, $metadata );
    
    			/**
    			 * Filters the attachment ID for a cropped image.
    			 *
    			 * @since 4.3.0