get_cancel_comment_reply_link [ WordPress Function ]
get_cancel_comment_reply_link ( $text = '' )
| Parameters: |
|
| Defined at: |
|
Soorgelijke functies: cancel_comment_reply_link, get_comment_reply_link, comment_reply_link, get_next_comments_link, get_edit_comment_link
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_html( remove_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 ]
Top Google zoekresultaten
- get_cancel_comment_reply_link | A HitchHackers guide through ...
Feb 12, 2011 ... function get_cancel_comment_reply_link($text = '') {} ... function get_cancel_comment_reply_link($text = '') { if ( empty($text) ) $text = __('Click ...
hitchhackerguide.com - get_cancel_comment_reply_link() WordPress function reference ...
Retrieve HTML content for cancel comment reply link.
queryposts.com - Docs for page comment-template.php
get_cancel_comment_reply_link (line 1138). Retrieve HTML content for cancel ... void get_cancel_comment_reply_link ([string $text = '']). string $text: Optional.
phpdoc.wordpress.org - How To Remove The "Click here to cancel reply" Link From The ...
Feb 8, 2011 ... See /wp-includes/comment-template.php#function get_cancel_comment_reply_link() for more background. But if you do that the reply form will ...
wordpress.stackexchange.com