wpseek.com
WordPress开发者和主题制作者的搜索引擎
save_post_{$post->post_type} › WordPress动作钩子
Since3.7.0
已弃用n/a
› do_action( "save_post_{$post->post_type}", $post_id, $post, $update )
| 参数: (3) |
|
| 定义在: |
|
| 文档: |
Fires once a post has been saved.
The dynamic portion of the hook name, `$post->post_type`, refers to the post type slug. Possible hook names include: - `save_post_post` - `save_post_page`Related Functions: set_post_type, get_post_type, get_post_types, _save_post_hook, register_post_type, unregister_post_type