wpseek.com
WordPress开发者和主题制作者的搜索引擎



untrashed_post › WordPress动作钩子

Since5.6.0
已弃用n/a
› do_action( 'untrashed_post', $post_id, $previous_status )
参数: (2)
  • () post_id Post ID.
    Required: Yes
  • () previous_status The status of the post at the point where it was trashed.
    Required: Yes
定义在:
文档:

Fires after a post is restored from the Trash.





源码

do_action( 'untrashed_post', $post_id, $previous_status );