do_action_deprecated( ‘wp_blacklist_check’, string $author, string $email, string $url, string $comment, string $user_ip, string $user_agent )

In this article

This hook has been deprecated. Use {@see ‘wp_check_comment_disallowed_list’} instead.

Fires before the comment is tested for disallowed characters or words.

Parameters

$authorstring
Comment author.
$emailstring
Comment author’s email.
$urlstring
Comment author’s URL.
$commentstring
Comment content.
$user_ipstring
Comment author’s IP address.
$user_agentstring
Comment author’s browser user agent.

Source

	 */
	return apply_filters( 'pre_comment_approved', $approved, $comment_data );
}

/**
 * Checks if a comment contains disallowed characters or words.
 *

Changelog

VersionDescription
5.5.0Use 'wp_check_comment_disallowed_list' instead.
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.