wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_get_list_item_separator › WordPress Function
Since6.0.0
已弃用n/a
› wp_get_list_item_separator ( 没有参数 )
| 返回: |
|
| 定义在: |
|
| 文档: |
Retrieves the list item separator based on the locale.
Related Functions: wp_get_split_term, wp_get_sitemap_providers, wp_get_split_terms, wp_get_theme_error, wp_get_sites
源码
function wp_get_list_item_separator() {
global $wp_locale;
if ( ! ( $wp_locale instanceof WP_Locale ) ) {
// Default value of WP_Locale::get_list_item_separator().
/* translators: Used between list items, there is a space after the comma. */
return __( ', ' );
}
return $wp_locale->get_list_item_separator();
}