wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



async_upload_{$type} › WordPress Filter Hooks

Da2.5.0
Deprecaton/a
apply_filters( "async_upload_{$type}", $id )
Parametri:
  • (int) $id Uploaded attachment ID.
    Richiesto:
Definito a:
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




Sorgenti

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