wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_blacklist_check › WordPress Function

Since1.5.0
Deprecated5.5.0
wp_blacklist_check ( $author, $email, $url, $comment, $user_ip, $user_agent )
Parameters: (6)
  • (string) $author The author of the comment
    Required: Yes
  • (string) $email The email of the comment
    Required: Yes
  • (string) $url The url used in the comment
    Required: Yes
  • (string) $comment The comment content
    Required: Yes
  • (string) $user_ip The comment author's IP address
    Required: Yes
  • (string) $user_agent The author's browser user agent
    Required: Yes
Returns:
  • (bool) True if comment contains disallowed content, false if comment does not
Defined at:
Codex:

Does comment contain disallowed characters or words.



Source

function wp_blacklist_check( $author, $email, $url, $comment, $user_ip, $user_agent ) {
	_deprecated_function( __FUNCTION__, '5.5.0', 'wp_check_comment_disallowed_list()' );

	return wp_check_comment_disallowed_list( $author, $email, $url, $comment, $user_ip, $user_agent );
}