get_comment_author_ip ( $comment_ID = 0 )
- (int|WP_Comment) $comment_ID Optional. WP_Comment or the ID of the comment for which to get the author's IP address. Default current comment.
Defined at:Change Log:
- (string) Comment author's IP address.
- Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Retrieve the IP address of the author of the current comment.