cancel_comment_reply_link

Display HTML content for cancel comment reply link.

Description

cancel_comment_reply_link( (string) $text = '' ); 

Parameters (1)

0. $text — Optional. (string) => ''
Text to display for cancel reply link. Default empty.

Usage

  1. if ( !function_exists( 'cancel_comment_reply_link' ) ) { 
  2. require_once ABSPATH . WPINC . '/comment-template.php'; 
  3.  
  4. // Optional. Text to display for cancel reply link. Default empty. 
  5. $text = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = cancel_comment_reply_link($text); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/comment-template.php  
  1. function cancel_comment_reply_link( $text = '' ) {