wp_image_file_matches_image_meta

wp_image_file_matches_image_meta

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_image_file_matches_image_meta') is found 1 times:

  • /wp-includes/media.php line 1676
    	 * @param string $image_location Full path or URI to the tested image file.
    	 * @param array  $image_meta     The image meta data as returned by 'wp_get_attachment_metadata()'.
    	 * @param int    $attachment_id  The image attachment ID or 0 if not supplied.
    	 */
    	return apply_filters( 'wp_image_file_matches_image_meta', $match, $image_location, $image_meta, $attachment_id );
    }
    
    /**
     * Determines an image's width and height dimensions based on the source file.
     *
     * @since 5.5.0