WordPress at a glance
filter is not described

max_srcset_image_width filter-hook . WP 4.4.0

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

Usage

add_filter( 'max_srcset_image_width', 'filter_function_name_9115', 10, 2 );
function filter_function_name_9115( $max_width, $size_array ){
	// filter...

	return $max_width;
}
$max_width(int)
The maximum image width to be included in the 'srcset'.
Default: '1600'
$size_array(array)
Array of width and height values in pixels (in that order).

Where the hook is called

wp_calculate_image_srcset()
max_srcset_image_width
wp-includes/media.php 1122
$max_srcset_image_width = apply_filters( 'max_srcset_image_width', 1600, $size_array );

Where the hook is used (in WP core)

Does not used.