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



get_attached_file › Les Filtres WordPress

Depuis2.1.0
Dépréciéen/a
› apply_filters( 'get_attached_file', $file, $attachment_id )
Paramètres: (2)
  • () file The file path to where the attached file should be, false otherwise.
    Requis: Oui
  • () attachment_id Attachment ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the attached file based on the given ID.





Source

return apply_filters( 'get_attached_file', $file, $attachment_id );