wpseek.com
A WordPress-centric search engine for devs and theme authors



untrash_comment › WordPress Action Hooks

Since4.9.0
Deprecatedn/a
do_action( 'untrash_comment', $comment->comment_ID, $comment )
Parameters: (2)
  • (string) $comment_id The comment ID as a numeric string.
    Required: Yes
  • (WP_Comment) $comment The comment to be untrashed.
    Required: Yes
Defined at:
Codex:

Fires immediately before a comment is restored from the Trash.





Source

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