pre_comment_author_url

pre_comment_author_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('pre_comment_author_url') is found 2 times:

  • /wp-includes/comment.php line 630
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
             * @since 1.5.0
             *
             * @param string $author_url_cookie The comment author URL cookie.
             */
            $comment_author_url = apply_filters( 'pre_comment_author_url', $_COOKIE[ 'comment_author_url_' . COOKIEHASH ] );
            $comment_author_url = wp_unslash( $comment_author_url );
     
            $_COOKIE[ 'comment_author_url_' . COOKIEHASH ] = $comment_author_url;
        }
    }
  • /wp-includes/comment.php line 2153
    2149
    2150
    2151
    2152
    2153
    2154
    2155
    2156
    2157
    2158
    2159
    * @param string $comment_author_ip The comment author's IP address.
     */
    $commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] );
    /** This filter is documented in wp-includes/comment.php */
    $commentdata['comment_author_url'] = apply_filters( 'pre_comment_author_url', $commentdata['comment_author_url'] );
    /** This filter is documented in wp-includes/comment.php */
    $commentdata['comment_author_email'] = apply_filters( 'pre_comment_author_email', $commentdata['comment_author_email'] );
     
    $commentdata['filtered'] = true;
     
    return $commentdata;