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
查看更多 >