W3cubDocs

/WordPress

cancel_comment_reply_link( string $link_text = )

Displays HTML content for cancel comment reply link.

Parameters

$link_textstringoptional
Text to display for cancel reply link. If empty, defaults to ‘Click here to cancel reply’.

Default:''

Source

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

Changelog

Version Description
2.7.0 Introduced.

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