WPDev.one
Core Function
View Source on Trac ↗

wp_get_word_count_type()

wp_get_word_count_type( )

Retrieves the word count type based on the locale.

Return Value

(string)
string Locale-specific word count type. Possible values are `characters_excluding_spaces`, `characters_including_spaces`, or `words`. Defaults to `words`.

Function Information

Since Version
6.2.0
Source File
wp-includes/l10n.php
Advertisement