unspam_comment

unspam_comment

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('unspam_comment') is found 1 times:

  • /wp-includes/comment.php line 1691
    	 *
    	 * @param string     $comment_id The comment ID as a numeric string.
    	 * @param WP_Comment $comment    The comment to be unmarked as spam.
    	 */
    	do_action( 'unspam_comment', $comment->comment_ID, $comment );
    
    	$status = (string) get_comment_meta( $comment->comment_ID, '_wp_trash_meta_status', true );
    	if ( empty( $status ) ) {
    		$status = '0';
    	}