wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



async_upload_{$type} › Les Filtres WordPress

Depuis2.5.0
Dépréciéen/a
› apply_filters( "async_upload_{$type}", $id )
Paramètres:
  • () id Uploaded attachment ID.
    Requis: Oui
Défini(e) dans:
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`




Source

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