WordPress:Template Tags/comment author IP
来自站长百科
Description
Displays the comment author's IP address. This tag must be within WordPress:The Loop, or a comment loop.
Usage
%%% <?php comment_author_IP(); ?> %%%
Example
<p>Posted from: <?php comment_author_IP(); ?></p>
Parameters
This tag has no parameters.