comment_text_rss

Definition:
function comment_text_rss() {}

Display the current comment content for use in the feeds.

Defined filters

  • comment_text_rss
    apply_filters('comment_text_rss', $comment_text)

Source code

function comment_text_rss() {

	$comment_text = get_comment_text();

	$comment_text = apply_filters('comment_text_rss', $comment_text);

	echo $comment_text;

}

703

comment_text

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

Displays the text of the current comment.

Parameters

  • int $comment_ID: The ID of the comment for which to print the text. Optional.

Defined filters

  • comment_text
    apply_filters( 'comment_text', get_comment_text( $comment_ID )

Source code

function comment_text( $comment_ID = 0 ) {

	$comment = get_comment( $comment_ID );

	echo apply_filters( 'comment_text', get_comment_text( $comment_ID ), $comment );

}

701

comment_reply_link

Definition:
function comment_reply_link($args = array() {}

Displays the HTML content for reply to comment link.

Parameters

  • array $args: Optional. Override default options.
  • int $comment: Optional. Comment being replied to.
  • int $post: Optional. Post that the comment is going to be displayed on.

Return values

returns:Link to show comment form, if successful. False, if comments are closed.

Source code

function comment_reply_link($args = array(), $comment = null, $post = null) {

	echo get_comment_reply_link($args, $comment, $post);

}

699

comment_link

Definition:
function comment_link() {}

Display the link to the comments.

Source code

function comment_link() {

	echo esc_url( get_comment_link() );

}

697

comment_id_fields

Definition:
function comment_id_fields( $id = 0 ) {}

Output hidden input HTML for replying to comments.

Parameters

  • $id

Source code

function comment_id_fields( $id = 0 ) {

	echo get_comment_id_fields( $id );

}

695