wpseek.com
WordPress开发者和主题制作者的搜索引擎
trashed_post › WordPress动作钩子
Since6.3.0
已弃用n/a
› do_action( 'trashed_post', $post_id, $previous_status )
| 参数: (2) |
|
| 定义在: |
|
| 文档: |
Fires after a post is sent to the Trash.
Related Functions: the_post, wp_trash_post, wp_untrash_post, edit_post, rewind_posts, wp_ajax_trash_post