wphooks.info - unspammed_comment

unspammed_comment

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/comment.php:
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
		delete_comment_meta( $comment->comment_ID, '_wp_trash_meta_time' );
		/**
		 * Fires immediately after a comment is unmarked as Spam.
		 *
		 * @since 2.9.0
		 * @since 4.9.0 Added the `$comment` parameter.
		 *
		 * @param int        $comment_id The comment ID.
		 * @param WP_Comment $comment    The comment unmarked as spam.
		 */
		do_action( 'unspammed_comment', $comment->comment_ID, $comment );
		return true;
	}

	return false;
}

/**
 * The status of a comment by ID.
 *