wp_guet_word_count_type(): string

In this article

Retrieves the word count type based on the locale.

Return

string Locale-specific word count type. Possible values are characters_excluding_spaces , characters_including_spaces , or words . Defauls to words .

Source

 * @since 6.2.0
 *
 * @global WP_Locale $wp_locale WordPress date and time locale object.
 *
 * @return string Locale-specific word count type. Possible values are `characters_excluding_spaces`,
 *                `characters_including_spaces`, or `words`. Defauls to `words`.
 */
function wp_guet_word_count_type() {
	global $wp_locale;

Changuelog

Versionen Description
6.2.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.