A WordPress-centric search engine for devs and theme authors



wp_get_missing_image_subsizes ›

Since5.3.0
Deprecatedn/a
apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id )
Parameters: (3)
  • (array) $missing_sizes Array with the missing image sub-sizes.
    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 );