cancel_comment_reply_link( string $link_text = '' )
Displays HTML content for cancel comment reply link.
Parameters
-
$link_text
string 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( $link_text = '' ) {
echo get_cancel_comment_reply_link( $link_text );
}
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Basic Examples
Default Usage
Using Custom Text