wp_image_file_matches_image_meta – filter
Filters whether an image path or URI matches image meta.
Parameters
- .
- ( 5.5.0 ) . .
- ( bool ) $match Whether the image relative path from the image meta matches the end of the URI or path to the image file. . . .
- $image_location
- ( string ) Full path or URI to the tested image file. . . .
- ( array ) $image_meta The image meta data as returned by ‘wp_get_attachment_metadata()’. . . .
- ( int ) $attachment_id The image attachment ID or 0 if not supplied. . . .