wordpress / latest / hooks / cancel_comment_reply_link.html

apply_filters( 'cancel_comment_reply_link', string $formatted_link, string $link, string $text )

Filters the cancel comment reply link HTML.

Parameters

$formatted_link string
The HTML-formatted cancel comment reply link.
$link string
Cancel comment reply link URL.
$text string
Cancel comment reply link text.

Source

File: wp-includes/comment-template.php. View all references

return apply_filters( 'cancel_comment_reply_link', $formatted_link, $link, $text );

Changelog

Version Description
2.7.0 Introduced.

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