wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_insert_attachment › WordPress动作钩子
Since4.7.0
已弃用n/a
› do_action( 'rest_insert_attachment', $attachment, $request, true )
参数: (3) |
|
定义在: | |
文档: |
Fires after a single attachment is created or updated via the REST API.
Related Functions: wp_insert_attachment, is_attachment, prepend_attachment, get_the_attachment_link, wp_count_attachments, wp_insert_comment