Un motore di ricerca WordPress per sviluppatori e autori di temi



max_srcset_image_width ›

Da4.4.0
Deprecaton/a
apply_filters( 'max_srcset_image_width', 1600, $size_array )
Parametri: (2)
  • (int) $max_width The maximum image width to be included in the 'srcset'. Default '1600'.
    Richiesto:
  • (array) $size_array Array of width and height values in pixels (in that order).
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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