WordPress at a glance
filter is not described

get_comment_author_IP filter-hook . WP 1.5.0

Filters the comment author's returned IP address.

Usage

add_filter( 'get_comment_author_IP', 'filter_function_name_2969', 10, 3 );
function filter_function_name_2969( $comment_author_IP, $comment_ID, $comment ){
	// filter...

	return $comment_author_IP;
}
$comment_author_IP(string)
The comment author's IP address.
$comment_ID(int)
The comment ID.
$comment(WP_Comment)
The comment object.

Список изменений

С версии 1.5.0 Введена.
С версии 4.1.0 The $comment_ID and $comment parameters were added.

Где вызывается хук

get_comment_author_IP()
get_comment_author_IP
wp-includes/comment-template.php 280
return apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase

Где используется хук в ядре WP

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