Summery Summery
Filters the output of ‘wp_calculate_image_sizes()’.
Syntax Syntax
Parameters Parameters
- $sizes
-
A source size value for use in a 'sizes' attribute.
- $size
-
Requested size. Image size or array of width and height values in pixels (in that order).
- $image_src
-
The URL to the image file or null.
- $image_meta
-
The image meta data as returned by wp_get_attachment_metadata() or null.
- $attachment_id
-
Image attachment ID of the original image or 0.
Source Source
File: wp-includes/media.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |