untrashed_comment

untrashed_comment

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.6

do_action('untrashed_comment') is found 1 times:

  • /wp-includes/comment.php line 1613
    		 *
    		 * @param string     $comment_id The comment ID as a numeric string.
    		 * @param WP_Comment $comment    The untrashed comment.
    		 */
    		do_action( 'untrashed_comment', $comment->comment_ID, $comment );
    
    		return true;
    	}
    
    	return false;
    }
    

See this hook used in plugins: