Filters the array of missing image sub-sizes for an uploaded image.
$missing_sizesarray[]$image_metaarray$attachment_idintwp-admin/includes/image.php:146wp_get_missing_image_subsizes() * * @param array[] $missing_sizes Associative array of arrays of image sub-size information for * missing image sizes, keyed by image size name. * @param array $image_meta The image meta data. * @param int $attachment_id The image attachment post ID. */ return apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id );} /** * If any of the currently registered image sub-sizes are missing, * create them and update the image meta data. *Introduced in 5.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.