W3cubDocs

/WordPress

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

Displays the HTML content for reply to post link.

Description

See also

Parameters

$argsarrayoptional
Override default options.

Default:array()

$postint|WP_Postoptional
Post ID or WP_Post object the comment is going to be displayed on.
Default current post.

Default:null

Source

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

Changelog

Version Description
2.7.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/post_reply_link