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



wp_image_file_matches_image_meta › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
› apply_filters( 'wp_image_file_matches_image_meta', $match, $image_location, $image_meta, $attachment_id )
Parametry: (4)
  • () match Whether the image relative path from the image meta matches the end of the URI or path to the image file.
    Wymagane: Tak
  • () image_location Full path or URI to the tested image file.
    Wymagane: Tak
  • () image_meta The image meta data as returned by 'wp_get_attachment_metadata()'.
    Wymagane: Tak
  • () attachment_id The image attachment ID or 0 if not supplied.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether an image path or URI matches image meta.





Źródło

return apply_filters( 'wp_image_file_matches_image_meta', $match, $image_location, $image_meta, $attachment_id );