W3cubDocs

/WordPress

apply_filters( ‘cancel_comment_reply_link’, string $cancel_comment_reply_link, string $link_url, string $link_text )

Filters the cancel comment reply link HTML.

Parameters

$cancel_comment_reply_linkstring
The HTML-formatted cancel comment reply link.
$link_urlstring
Cancel comment reply link URL.
$link_textstring
Cancel comment reply link text.

Source

return apply_filters( 'cancel_comment_reply_link', $cancel_comment_reply_link, $link_url, $link_text );

Changelog

Version Description
2.7.0 Introduced.

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