pre_comment_user_ip

pre_comment_user_ip

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('pre_comment_user_ip') is found 1 times:

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