Action hook 'wp_check_comment_disallowed_list'

in WP Core File wp-includes/comment.php at line 1341

Description

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

Occurrences

Filename Line Number
wp-includes/comment.php 1341

Parameters

Type Name Description
string $author Comment author.
string $email Comment author's email.
string $url Comment author's URL.
string $comment Comment content.
string $user_ip Comment author's IP address.
string $user_agent Comment author's browser user agent.

PHP Doc

/**
	 * Fires before the comment is tested for disallowed characters or words.
	 *
	 * @since 5.5.0
	 *
	 * @param string $author     Comment author.
	 * @param string $email      Comment author's email.
	 * @param string $url        Comment author's URL.
	 * @param string $comment    Comment content.
	 * @param string $user_ip    Comment author's IP address.
	 * @param string $user_agent Comment author's browser user agent.
	 */