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



get_attached_file › WordPress Filter Hooks

Da2.1.0
Deprecaton/a
› apply_filters( 'get_attached_file', $file, $attachment_id )
Parametri: (2)
  • () file The file path to where the attached file should be, false otherwise.
    Richiesto: Sì
  • () attachment_id Attachment ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the attached file based on the given ID.





Sorgenti

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