Uma área de pesquisa sobre o WordPress para devs e autores do tema



async_upload_{$type} ›

Desde2.5.0
Obsoleton/a
apply_filters( "async_upload_{$type}", $id )
Parâmetros:
  • (int) $id Uploaded attachment ID.
    Required: Yes
Definido em:
Codex:

Filters the returned ID of an uploaded attachment.

The dynamic portion of the hook name, $type, refers to the attachment type, such as 'image', 'audio', 'video', 'file', etc.





Fonte

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