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



untrash_comment › WordPress动作钩子

Since4.9.0
已弃用n/a
do_action( 'untrash_comment', $comment->comment_ID, $comment )
参数: (2)
  • (string) $comment_id The comment ID as a numeric string.
    Required: Yes
  • (WP_Comment) $comment The comment to be untrashed.
    Required: Yes
定义在:
文档:

Fires immediately before a comment is restored from the Trash.





源码

do_action( 'untrash_comment', $comment->comment_ID, $comment );