WPDev.one
Core Function
View Source on Trac ↗

get_post_reply_link()

get_post_reply_link( mixed $args = array(), mixed $post = null )

Retrieves HTML content for reply to post link.

Parameters 2 required

Name / Type Description
array

$args { Optional. Override default arguments.

Required
mixed

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

Required

Return Value

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

Function Information

Since Version
2.7.0
Source File
wp-includes/comment-template.php
Advertisement