WordPress at a glance
filter is not described

wp_get_missing_image_subsizes filter-hook . WP 5.3.0

Filters the array of missing image sub-sizes for an uploaded image.

Usage

add_filter( 'wp_get_missing_image_subsizes', 'filter_function_name_7225', 10, 3 );
function filter_function_name_7225( $missing_sizes, $image_meta, $attachment_id ){
	// filter...

	return $missing_sizes;
}
$missing_sizes(array)
Array with the missing image sub-sizes.
$image_meta(array)
The image meta data.
$attachment_id(int)
The image attachment post ID.

Changelog

Since 5.3.0 Introduced.

Where the hook is called

wp_get_missing_image_subsizes()
wp_get_missing_image_subsizes
wp-admin/includes/image.php 138
return apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id );

Where in WP core the hook is used WordPress

Usage not found.