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



update_attached_file › Filtr WordPress Hooks

Od2.1.0
Przestarzałyn/a
› apply_filters( 'update_attached_file', $file, $attachment_id )
Parametry: (2)
  • () file Path to the attached file to update.
    Wymagane: Tak
  • () attachment_id Attachment ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the path to the attached file to update.





Źródło

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