WordPress at a glance
filter is not described

pre_comment_user_ip filter-hook . WP 1.5.0

Filters the comment author's IP address before it is set.

Использование

add_filter( 'pre_comment_user_ip', 'filter_function_name_6016' );
function filter_function_name_6016( $comment_author_ip ){
	// filter...

	return $comment_author_ip;
}
$comment_author_ip(string)
The comment author's IP address.

Changelog

Since 1.5.0 Introduced.

Where the hook is called

wp_filter_comment()
pre_comment_user_ip
wp-includes/comment.php 2105
$commentdata['comment_author_IP'] = apply_filters( 'pre_comment_user_ip', $commentdata['comment_author_IP'] );

Where in WP core the hook is used WordPress

Usage not found.