max_srcset_image_width
最后更新于:2021-11-27 06:55:06
apply_filters( ‘max_srcset_image_width’, int $max_width, int[] $size_array )
Filters the maximum image width to be included in a ‘srcset’ attribute.
参数
- $max_width
-
(int)
The maximum image width to be included in the ‘srcset’. Default ‘2048’. - $size_array
-
(int[])
An array of requested width and height values.- (int) The width in pixels.
-
‘1’
(int) The height in pixels.
源文件
文件: gc-includes/media.php