wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



update_attached_file › WordPress Filter Hooks

Da2.1.0
Deprecaton/a
› apply_filters( 'update_attached_file', $file, $attachment_id )
Parametri: (2)
  • () file Path to the attached file to update.
    Richiesto: Sì
  • () attachment_id Attachment ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the path to the attached file to update.





Sorgenti

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