comment_author_IP

Definition:
function comment_author_IP( $comment_ID = 0 ) {}

Display the IP address of the author of the current comment.

Parameters

  • int $comment_ID: The ID of the comment for which to print the author’s IP address. Optional.

Source code

function comment_author_IP( $comment_ID = 0 ) {

	echo get_comment_author_IP( $comment_ID );

}

667

No comments yet... Be the first to leave a reply!

Leave a comment