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



async_upload_{$type} › Filtr WordPress Hooks

Od2.5.0
Przestarzałyn/a
apply_filters( "async_upload_{$type}", $id )
Parametry:
  • (int) $id Uploaded attachment ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the returned ID of an uploaded attachment.

The dynamic portion of the hook name, $type, refers to the attachment type.

Possible hook names include:

  • async_upload_audio
  • async_upload_file
  • async_upload_image
  • async_upload_video




Źródło

echo apply_filters( "async_upload_{$type}", $id );