Summery Summery
Let plugins pre-filter the image meta to be able to fix inconsistencies in the stored data.
Syntax Syntax
Parameters Parameters
- $image_meta
-
The image meta data as returned by 'wp_get_attachment_metadata()'.
- $size_array
-
An array of requested width and height values.
- (int) The width in pixels.
- '1'
(int) The height in pixels.
- $image_src
-
The 'src' of the image.
- $attachment_id
-
The image attachment ID or 0 if not supplied.
Source Source
File: wp-includes/media.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |