apply_filters( 'pre_comment_user_ip', string $comment_author_ip )

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


Parameters

$comment_author_ip

The comment author's IP address.


Source

File: wp-includes/comment.php

View on GitHub


Changelog

Changelog
Version Description
1.5.0 Introduced.