W3cubDocs

/WordPress

cancel_comment_reply_link( string $text = '' )

Display HTML content for cancel comment reply link.

Description

Parameters

$text

(string) (Optional) Text to display for cancel reply link.

Default value: ''

Source

File: wp-includes/comment-template.php

function cancel_comment_reply_link( $text = '' ) {
	echo get_cancel_comment_reply_link( $text );
}

Changelog

Version Description
2.7.0 Introduced.

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