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



update_attached_file › Les Filtres WordPress

Depuis2.1.0
Dépréciéen/a
› apply_filters( 'update_attached_file', $file, $attachment_id )
Paramètres: (2)
  • () file Path to the attached file to update.
    Requis: Oui
  • () attachment_id Attachment ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the path to the attached file to update.





Source

$file = apply_filters( 'update_attached_file', $file, $attachment_id );