Description
Filters the comment author's returned IP address.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment-template.php | 326 |
Parameters
Type | Name | Description |
---|---|---|
string | $comment_author_ip | The comment author's IP address, or an empty string if it's not available. |
string | $comment_id | The comment ID as a numeric string. |
WP_Comment | $comment | The comment object. |
PHP Doc
/**
* Filters the comment author's returned IP address.
*
* @since 1.5.0
* @since 4.1.0 The `$comment_id` and `$comment` parameters were added.
*
* @param string $comment_author_ip The comment author's IP address, or an empty string if it's not available.
* @param string $comment_id The comment ID as a numeric string.
* @param WP_Comment $comment The comment object.
*/