wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_get_missing_image_subsizes › WordPress Filter Hooks

Seit5.3.0
Veraltetn/v
apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id )
Parameter: (3)
  • (array[]) $missing_sizes Associative array of arrays of image sub-size information for missing image sizes, keyed by image size name.
    Erforderlich: Ja
  • (array) $image_meta The image meta data.
    Erforderlich: Ja
  • (int) $attachment_id The image attachment post ID.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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