comment_author_url

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

Display the url of the author of the current comment.

Parameters

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

Defined filters

  • comment_url
    apply_filters('comment_url', get_comment_author_url( $comment_ID )

Source code

function comment_author_url( $comment_ID = 0 ) {

	echo apply_filters('comment_url', get_comment_author_url( $comment_ID ));

}

673

comment_author_rss

Definition:
function comment_author_rss() {}

Display the current comment author in the feed.

Source code

function comment_author_rss() {

	echo get_comment_author_rss();

}

671

comment_author_link

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

Display the html link to the url of the author of the current comment.

Parameters

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

Source code

function comment_author_link( $comment_ID = 0 ) {

	echo get_comment_author_link( $comment_ID );

}

669

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

comment_author_email_link

Definition:
function comment_author_email_link($linktext='', $before='', $after='') {}

Display the html email link to the author of the current comment.
Care should be taken to protect the email address and assure that email harvesters do not capture your commentors’ email address. Most assume that their email address will not appear in raw form on the blog. Doing so will enable anyone, including those that people don’t want to get the email address and use it for their own means good and bad.

Parameters

  • string $linktext: The text to display instead of the comment author’s email address
  • string $before: The text or HTML to display before the email link.
  • string $after: The text or HTML to display after the email link.

Source code

function comment_author_email_link($linktext='', $before='', $after='') {

	if ( $link = get_comment_author_email_link( $linktext, $before, $after ) )

		echo $link;

}

665