cancel_comment_reply_link

函式
cancel_comment_reply_link ( $text = '' )
引數
  • (string) $text Optional. Text to display for cancel reply link. If empty, defaults to 'Click here to cancel reply'. Default empty.
    Required:
    Default: (empty)
定義位置
相關方法
get_cancel_comment_reply_linkget_comment_reply_linkcomment_reply_linknext_comments_linkrender_block_core_comment_reply_link
引入
2.7.0
棄用
-

cancel_comment_reply_link: 這個函式用來建立一個連結來取消評論回覆。它不接受任何引數,並返回HTML連結程式碼。

顯示取消評論回覆連結的HTML內容。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function cancel_comment_reply_link( $text = '' ) {
echo get_cancel_comment_reply_link( $text );
}
function cancel_comment_reply_link( $text = '' ) { echo get_cancel_comment_reply_link( $text ); }
function cancel_comment_reply_link( $text = '' ) {
	echo get_cancel_comment_reply_link( $text );
}

常見問題

FAQs
檢視更多 >