cancel_comment_reply_link filter-hook . WP 2.7.0
Filters the cancel comment reply link HTML.
Usage
add_filter( 'cancel_comment_reply_link', 'filter_function_name_6850', 10, 3 ); function filter_function_name_6850( $formatted_link, $link, $text ){ // filter... return $formatted_link; }
- $formatted_link(string)
- The HTML-formatted cancel comment reply link.
- $link(string)
- Cancel comment reply link URL.
- $text(string)
- Cancel comment reply link text.
Changelog
Since 2.7.0 | Introduced. |
Where the hook is called
cancel_comment_reply_link
wp-includes/comment-template.php 1909
return apply_filters( 'cancel_comment_reply_link', $formatted_link, $link, $text );