A WordPress-centric search engine for devs and theme authors



post_reply_link ›

Since2.7.0
Deprecatedn/a
post_reply_link ( $args = array(), $post = null )
Parameters: (2)
  • (array) $args Optional. Override default options,
    Required: No
    Default: array()
  • (int|WP_Post) $post Post ID or WP_Post object the comment is going to be displayed on. Default current post.
    Required: No
    Default: null
See:
Returns:
  • (string|bool|null) Link to show comment form, if successful. False, if comments are closed.
Defined at:
Codex:

Displays the HTML content for reply to post link.



Source

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