wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_get_missing_image_subsizes › Filtr WordPress Hooks

Od5.3.0
Przestarzałyn/a
› apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id )
Parametry: (3)
  • () missing_sizes Associative array of arrays of image sub-size information for missing image sizes, keyed by image size name.
    Wymagane: Tak
  • () image_meta The image meta data.
    Wymagane: Tak
  • () attachment_id The image attachment post ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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