wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_image_file_matches_image_meta › Les Filtres WordPress

Depuis5.5.0
Dépréciéen/a
› apply_filters( 'wp_image_file_matches_image_meta', $match, $image_location, $image_meta, $attachment_id )
Paramètres: (4)
  • () match Whether the image relative path from the image meta matches the end of the URI or path to the image file.
    Requis: Oui
  • () image_location Full path or URI to the tested image file.
    Requis: Oui
  • () image_meta The image meta data as returned by 'wp_get_attachment_metadata()'.
    Requis: Oui
  • () attachment_id The image attachment ID or 0 if not supplied.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether an image path or URI matches image meta.





Source

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