wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_after_insert_{$this->post_type} › WordPress动作钩子
Since5.0.0
已弃用n/a
› do_action( "rest_after_insert_{$this->post_type}", $post, $request, true )
| 参数: (3) |
|
| 定义在: | |
| 文档: |
Fires after a single post is completely created or updated via the REST API.
The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug. Possible hook names include: - `rest_after_insert_post` - `rest_after_insert_page` - `rest_after_insert_attachment`Related Functions: wp_after_insert_post, register_post_type, create_initial_post_types, unregister_post_type, set_post_type, wp_get_random_content_post_types