Uma área de pesquisa sobre o WordPress para devs e autores do tema



max_srcset_image_width ›

Desde4.4.0
Obsoleton/a
apply_filters( 'max_srcset_image_width', 1600, $size_array )
Parâmetros: (2)
  • (int) $max_width The maximum image width to be included in the 'srcset'. Default '1600'.
    Required: Yes
  • (array) $size_array Array of width and height values in pixels (in that order).
    Required: Yes
Definido em:
Codex:

Filters the maximum image width to be included in a 'srcset' attribute.





Fonte

$max_srcset_image_width = apply_filters( 'max_srcset_image_width', 1600, $size_array );