untrashed_comment

untrashed_comment

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('untrashed_comment') is found 1 times:

  • /wp-includes/comment.php line 1612
    		 *
    		 * @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: