Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 1336 | /** * Filters the maximum image width to be included in a 'srcset' attribute. * * @since 4.4.0 * * @param int $max_width The maximum image width to be included in the 'srcset'. Default '2048'. * @param int[] $size_array { * An array of requested width and height values. * * @type int $0 The width in pixels. * @type int $1 The height in pixels. * } */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $max_width | The maximum image width to be included in the 'srcset'. Default '2048'. |
int[] | $size_arra | y { |