wpseek.com
WordPress开发者和主题制作者的搜索引擎
add_attachment › WordPress动作钩子
Since2.0.0
已弃用n/a
› do_action( 'add_attachment', $post_id )
| 参数: |
|
| 定义在: |
|
| 文档: |
Fires once an attachment has been added.
Related Functions: is_attachment, prepend_attachment, is_local_attachment, wp_attachment_is, wp_delete_attachment, clean_attachment_cache
Related Hooks: edit_attachment, delete_attachment, prepend_attachment, attachment_icon, attachment_link