wp_blacklist_check

wp_blacklist_check

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-5.4.2

do_action('wp_blacklist_check') is found 1 times:

  • /wp-includes/comment.php line 1271
    	 * @param string $comment    Comment content.
    	 * @param string $user_ip    Comment author's IP address.
    	 * @param string $user_agent Comment author's browser user agent.
    	 */
    	do_action( 'wp_blacklist_check', $author, $email, $url, $comment, $user_ip, $user_agent );
    
    	$mod_keys = trim( get_option( 'blacklist_keys' ) );
    	if ( '' == $mod_keys ) {
    		return false; // If moderation keys are empty.
    	}