wp_get_list_item_separator()WP 6.0.0

Retrieves the list item separator based on the locale.

No Hooks.

Return

String. Locale-specific list item separator.

Usage

wp_get_list_item_separator();

Notes

  • Global. WP_Locale. $wp_locale WordPress date and time locale object.

Changelog

Since 6.0.0 Introduced.

Code of wp_get_list_item_separator() WP 6.0

function wp_get_list_item_separator() {
	global $wp_locale;

	return $wp_locale->get_list_item_separator();
}