wp_get_list_item_separator

函式
wp_get_list_item_separator ( No parameters )
返回值
  • (string) Locale-specific list item separator.
定義位置
相關方法
wp_get_split_termwp_get_sitemap_providerswp_get_split_termswp_get_theme_errorwp_get_sites
引入
6.0.0
棄用
-

wp_get_list_item_separator: 這個函式檢索列表項的分隔符。它不接受任何引數,並返回一個帶有分隔符的字串。

檢索基於locale的列表項分隔符。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function wp_get_list_item_separator() {
global $wp_locale;
return $wp_locale->get_list_item_separator();
}
function wp_get_list_item_separator() { global $wp_locale; return $wp_locale->get_list_item_separator(); }
function wp_get_list_item_separator() {
	global $wp_locale;

	return $wp_locale->get_list_item_separator();
}

常見問題

FAQs
檢視更多 >