Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_blacklist_check ›

Seit1.5.0
Veraltet5.5.0
wp_blacklist_check ( $author, $email, $url, $comment, $user_ip, $user_agent )
Parameter: (6)
  • (string) $author The author of the comment
    Erforderlich: Ja
  • (string) $email The email of the comment
    Erforderlich: Ja
  • (string) $url The url used in the comment
    Erforderlich: Ja
  • (string) $comment The comment content
    Erforderlich: Ja
  • (string) $user_ip The comment author's IP address
    Erforderlich: Ja
  • (string) $user_agent The author's browser user agent
    Erforderlich: Ja
Gibt zurück:
  • (bool) True if comment contains disallowed content, false if comment does not
Definiert in:
Codex:

Does comment contain disallowed characters or words.



Quellcode

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 );
}