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



untrash_post_comments ›

Since2.9.0
已弃用n/a
do_action( 'untrash_post_comments', $post_id )
参数:
  • (int) $post_id Post ID.
    Required: Yes
定义在:
文档:

Fires before comments are restored for a post from the trash.





源码

do_action( 'untrash_post_comments', $post_id );