wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_missing_image_subsizes › WordPress Filter Hooks

Since5.3.0
Deprecatedn/a
apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id )
Parameters: (3)
  • (array[]) $missing_sizes Associative array of arrays of image sub-size information for missing image sizes, keyed by image size name.
    Required: Yes
  • (array) $image_meta The image meta data.
    Required: Yes
  • (int) $attachment_id The image attachment post ID.
    Required: Yes
Defined at:
Codex:

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





Source

return apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id );