wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_get_list_item_separator › WordPress Function

Depuis6.0.0
Dépréciéen/a
wp_get_list_item_separator ( Pas de paramètres )
Retourne:
  • (string) Locale-specific list item separator.
Défini(e) dans:
Codex:

Retrieves the list item separator based on the locale.



Source

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();
}