wp_check_comment_disallowed_list

wp_check_comment_disallowed_list

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('wp_check_comment_disallowed_list') is found 1 times:

  • /wp-includes/comment.php line 1359
    1355
    1356
    1357
    1358
    1359
    1360
    1361
    1362
    1363
    1364
    * @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_check_comment_disallowed_list', $author, $email, $url, $comment, $user_ip, $user_agent );
     
    $mod_keys = trim( get_option( 'disallowed_keys' ) );
    if ( '' === $mod_keys ) {
        return false; // If moderation keys are empty.
    }