cancel_comment_reply_link

The timeline below displays how wordpress function cancel_comment_reply_link has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.3

/**
 * Displays HTML content for cancel comment reply link.
 *
 * @since 2.7.0
 *
 * @param string $link_text Optional. Text to display for cancel reply link. If empty,
 *                     defaults to 'Click here to cancel reply'. Default empty.
 */
function cancel_comment_reply_link($link_text = '')
{
    echo get_cancel_comment_reply_link($link_text);
}

WordPress Version: 5.5

/**
 * Displays HTML content for cancel comment reply link.
 *
 * @since 2.7.0
 *
 * @param string $text Optional. Text to display for cancel reply link. If empty,
 *                     defaults to 'Click here to cancel reply'. Default empty.
 */
function cancel_comment_reply_link($text = '')
{
    echo get_cancel_comment_reply_link($text);
}

WordPress Version: 5.4

/**
 * Displays HTML content for cancel comment reply link.
 *
 * @since 2.7.0
 *
 * @param string $text Optional. Text to display for cancel reply link. Default empty.
 */
function cancel_comment_reply_link($text = '')
{
    echo get_cancel_comment_reply_link($text);
}

WordPress Version: 3.7

/**
 * Display HTML content for cancel comment reply link.
 *
 * @since 2.7.0
 *
 * @param string $text Optional. Text to display for cancel reply link. Default empty.
 */
function cancel_comment_reply_link($text = '')
{
    echo get_cancel_comment_reply_link($text);
}