Pre-filters the image meta to be able to fix inconsistencies in the stored data.
Parameters
$image_meta
array- The image meta data as returned by ‘wp_get_attachment_metadata() ‘.
$size_array
int[]- An array of requested width and height values.
0
intThe width in pixels.1
intThe height in pixels.
$image_src
string- The
'src'
of the image. $attachment_id
int- The image attachment ID or 0 if not supplied.
Source
* @since 4.5.0
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.