wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_attached_file › Filtr WordPress Hooks

Od2.1.0
Przestarzałyn/a
› apply_filters( 'get_attached_file', $file, $attachment_id )
Parametry: (2)
  • () file The file path to where the attached file should be, false otherwise.
    Wymagane: Tak
  • () attachment_id Attachment ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the attached file based on the given ID.





Źródło

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