comment_author_ip
comment_author_ip ( $comment_id = 0 )
Parameters:- (int|WP_Comment) comment_id Optional. WP_Comment or the ID of the comment for which to print the author's IP address. Default current comment.
Defined at:Change Log: - Introduced in WordPress: 0.71
- Deprecated in WordPress: —
Description
Displays the IP address of the author of the current comment.