tag_description

函式
tag_description ( $tag = 0 )
引數
  • (int) $tag Optional. Tag ID. Defaults to the current tag ID.
    Required:
返回值
  • (string) Tag description, if available.
定義位置
相關方法
term_descriptioncategory_descriptionthe_author_descriptionthe_archive_descriptionget_file_description
引入
2.8.0
棄用
-

tag_description: 這是一個WordPress函式,顯示一個標籤的描述: 這個函式接受一個引數,即你想顯示描述的標籤ID或名稱。

檢索標籤描述。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function tag_description( $tag = 0 ) {
return term_description( $tag );
}
function tag_description( $tag = 0 ) { return term_description( $tag ); }
function tag_description( $tag = 0 ) {
	return term_description( $tag );
}

常見問題

FAQs
檢視更多 >