cancel_comment_reply_link( string $text = '' )
Display HTML content for cancel comment reply link.
描述
参数
- $text
-
(string)
(Optional)
Text to display for cancel reply link.Default value: ”
源代码
File: wp-includes/comment-template.php
function cancel_comment_reply_link( $text = '' ) {
echo get_cancel_comment_reply_link($text);
}
更新日志
Version | 描述 |
---|---|
2.7.0 | Introduced. |
相关函数
Uses
-
wp-includes/comment-template.php:
get_cancel_comment_reply_link()
Used By
-
wp-includes/comment-template.php:
comment_form()
User Contributed Notes
-
Skip to note content
You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note
Contributed by
Codex
Basic Examples
Default Usage
<?php cancel_comment_reply_link(); ?>
Using Custom Text
<?php cancel_comment_reply_link( __( 'Cancel Reply', 'textdomain' ) ); ?>
你可能对这些文章感兴趣:
- wordpress函数gd_edit_image_support()用法示例
- wordpress函数funky_javascript_callback()用法示例
- wordpress函数funky_javascript_fix()用法示例
- wordpress函数gallery_shortcode()用法示例
- wordpress函数format_to_edit()用法示例
- wordpress函数format_to_post()用法示例
- wordpress函数form_option()用法示例
- wordpress函数force_ssl_login()用法示例
- wordpress函数format_code_lang()用法示例
- wordpress函数format_for_editor()用法示例
- wordpress函数force_ssl_content()用法示例
- wordpress函数flush_rewrite_rules()用法示例
- wordpress函数force_balance_tags()用法示例
- wordpress函数force_ssl_admin()用法示例
如有疑问,请前往问答中心反馈!
反馈