Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('comment_{$new_status}_{$comment->comment_type}') is found 1 times:

  • /wp-includes/comment.php line 1843
    	 * @param string     $comment_ID The comment ID as a numeric string.
    	 * @param WP_Comment $comment    Comment object.
    	do_action( "comment_{$new_status}_{$comment->comment_type}", $comment->comment_ID, $comment );
     * Clears the lastcommentmodified cached value when a comment status is changed.
     * Deletes the lastcommentmodified cache key when a comment enters or leaves