Definition:
function get_comment_author_IP( $comment_ID = 0 ) {}
Retrieve the IP address of the author of the current comment.
Parameters
- int $comment_ID: The ID of the comment for which to get the author’s IP address. Optional.
Return values
returns:The comment author’s IP address.
Defined filters
- get_comment_author_IP
apply_filters('get_comment_author_IP', $comment->comment_author_IP)
Source code
function get_comment_author_IP( $comment_ID = 0 ) { $comment = get_comment( $comment_ID ); return apply_filters('get_comment_author_IP', $comment->comment_author_IP); }
1296
No comments yet... Be the first to leave a reply!