max_srcset_image_width

Filter Hook: Filters the maximum image width to be included in a ‘srcset’ attribute.

Source: wp-includes/media.php:1289

wp_calculate_image_srcset()

Function: A helper function to calculate the image sources to include in a ‘srcset’ attribute.

Source: wp-includes/media.php:1201

wp_image_add_srcset_and_sizes()

Function: Adds ‘srcset’ and ‘sizes’ attributes to an existing ‘img’ element.

Source: wp-includes/media.php:1543

wp_calculate_image_srcset_meta

Filter Hook: Let plugins pre-filter the image meta to be able to fix inconsistencies in the stored data.

Source: wp-includes/media.php:1217