Core Function
View Source on Trac ↗ wp_get_missing_image_subsizes()
wp_get_missing_image_subsizes( mixed $attachment_id ) Compare the existing image sub-sizes (as saved in the attachment meta)
Parameters 1 required
| Name / Type | Description |
|---|---|
| $attachment_id int | The image attachment post ID. Required |
Return Value
(array[])
array[] Associative array of arrays of image sub-size information for
missing image sizes, keyed by image size name.
Function Information
Since Version
5.3.0
Source File
wp-admin/includes/image.php
Advertisement