W3cubDocs

/WordPress

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

Filters the cancel comment reply link HTML.

Description

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 on Trac

Changelog

Version Description
2.7.0 Introduced.

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