Used By
Used By | Description |
---|---|
wp-includes/media.php: wp_calculate_image_srcset() | A helper function to calculate the image sources to include in a ‘srcset’ attribute. |
Filters the maximum image width to be included in a ‘srcset’ attribute.
(int) The maximum image width to be included in the 'srcset'. Default '2048'.
(int[]) An array of requested width and height values.
(int) The height in pixels.
File: wp-includes/media.php
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/max_srcset_image_width