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