post_reply_link( array $args = array(), int|WP_Post $post = null )

Displays the HTML content for reply to post link.


Description Description

See also See also


Top ↑

Parameters Parameters

$args

(array) (Optional) Override default options,

Default value: array()

$post

(int|WP_Post) (Optional) Post ID or WP_Post object the comment is going to be displayed on. Default current post.

Default value: null


Top ↑

Return Return

(string|bool|null) Link to show comment form, if successful. False, if comments are closed.


Top ↑

Source Source

File: wp-includes/comment-template.php

function post_reply_link($args = array(), $post = null) {
	echo get_post_reply_link($args, $post);
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.