In version 3.0 (and in WP 4.4), we added a low-pass filter to the sizes that will be included in srcset attributes, which defaults to 1600px, but is filterable using the max_srcset_image_width hook (link).
We need to add documentation for this hook with code samples for filtering conditionally based on the width of the original image.
In version 3.0 (and in WP 4.4), we added a low-pass filter to the sizes that will be included in
srcset
attributes, which defaults to 1600px, but is filterable using themax_srcset_image_width
hook (link).We need to add documentation for this hook with code samples for filtering conditionally based on the width of the original image.