cancel_comment_reply_link( string $text = '' )

Displays HTML content for cancel comment reply link.

Parameters

$text

(string) (Optional) Text to display for cancel reply link. If empty, defaults to 'Click here to cancel reply'.

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–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/cancel_comment_reply_link