wpseek.com
WordPress开发者和主题制作者的搜索引擎
async_upload_{$type} › WordPress过滤钩子
Since2.5.0
已弃用n/a
› apply_filters( "async_upload_{$type}", $id )
| 参数: |
|
| 定义在: |
|
| 文档: |
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`Related Functions: media_upload_type_form, media_upload_type_url_form, set_post_type, check_upload_size, media_upload_file, media_upload_html_bypass