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.1

apply_filters('pre_comment_author_url') is found 2 times:

  • /wp-includes/comment.php line 630
    		 * @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
    	 * @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;