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, set_post_type, media_upload_type_url_form, media_upload_html_bypass, media_upload_file, media_upload_tabs
Related Hooks: media_upload_type, media_upload_default_type, auto_update_type, media_upload_tab, upload_per_page