Summery Summery
Filters the maximum image width to be included in a ‘srcset’ attribute.
Syntax Syntax
Parameters Parameters
- $max_width
-
The maximum image width to be included in the 'srcset'. Default '2048'.
- $size_array
-
An array of requested width and height values.
- (int) The width in pixels.
- '1'
(int) The height in pixels.
Source Source
File: wp-includes/media.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |