Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_cancel_comment_reply_link [ WordPress Function ]

get_cancel_comment_reply_link ( $text = '' )
Parameters:
  • (string) $text Optional. Text to display for cancel reply link.
Defined at:



Retrieve HTML content for cancel comment reply link.

Source


<?php
function get_cancel_comment_reply_link($text '') {
    if ( empty(
$text) )
        
$text __('Click here to cancel reply.');

    
$style = isset($_GET['replytocom']) ? '' ' style="display:none;"';
    
$link esc_htmlremove_query_arg('replytocom') ) . '#respond';
    return 
apply_filters('cancel_comment_reply_link''<a rel="nofollow" id="cancel-comment-reply-link" href="' $link '"' $style '>' $text '</a>'$link$text);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics