On this page
cancel_comment_reply_link( string $text = '' )
Displays HTML content for cancel comment reply link.
Parameters
$textstring Optional-
Text to display for cancel reply link. If empty, defaults to 'Click here to cancel reply'.
Default:
''
Source
File: wp-includes/comment-template.php. View all references
function cancel_comment_reply_link( $text = '' ) {
echo get_cancel_comment_reply_link( $text );
}
Related
Uses
| Uses | Description |
|---|---|
| get_cancel_comment_reply_link() wp-includes/comment-template.php | Retrieves HTML content for cancel comment reply link. |
Used By
| Used By | Description |
|---|---|
| comment_form() wp-includes/comment-template.php | Outputs a complete commenting form for use within a template. |
Changelog
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/cancel_comment_reply_link