Filters the array of missing image sub-sizes for an uploaded image.
Parameters
$missing_sizes
array[]- Associative array of arrays of image sub-size information for missing image sizes, keyed by image size name.
$image_meta
array- The image meta data.
$attachment_id
int- The image attachment post ID.
Source
return apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id );
Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.