WordPress at a glance

comment_reply_link() WP 1.0

Displays the HTML content for reply to comment link.

Возвращает

Null. Ничего.

Использование

comment_reply_link( $args, $comment, $post );
$args(array)
Override default options.
Default: empty array
$comment(int/WP_Comment)
Comment being replied to.
Default: current comment
$post(int/WP_Post)
Post ID or WP_Post object the comment is going to be displayed on.
Default: current post

Заметки

  • See: get_comment_reply_link()

Changelog

Since 2.7.0 Introduced.

Код comment_reply_link() WP 5.5.1

<?php
function comment_reply_link( $args = array(), $comment = null, $post = null ) {
	echo get_comment_reply_link( $args, $comment, $post );
}

From category: Comments Loop

More from Template Tags: Comments

No comments
    Log In . Register