apply_filters( 'wp_get_missing_image_subsizes', array $missing_sizes, array $image_meta, int $attachment_id )

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

Parameters

$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.

Source

File: wp-admin/includes/image.php

View on Trac

Changelog

Version Description
5.3.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_missing_image_subsizes