wpseek.com
WordPress开发者和主题制作者的搜索引擎



async_upload_{$type} › WordPress过滤钩子

Since2.5.0
已弃用n/a
› apply_filters( "async_upload_{$type}", $id )
参数:
  • () id Uploaded attachment ID.
    Required: Yes
定义在:
文档:

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`




源码

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