Make WordPress Core


Ignore:
Timestamp:
02/08/2023 10:15:33 AM (20 months ago)
Author:
SergeyBiryukov
Message:

Docs: Document possible return values for wp_get_word_count_type().

Follow-up to [55279].

See #56698.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-locale.php

    r55279 r55295  
    414414     * Retrieves the localized word count type.
    415415     *
    416      * Options are 'characters_excluding_spaces', 'characters_including_spaces or 'words'. Defaults to 'words'.
    417      *
    418416     * @since 6.2.0
    419417     *
    420      * @return string Localized word count type.
     418     * @return string Localized word count type. Possible values are `characters_excluding_spaces`,
     419     *                `characters_including_spaces`, or `words`. Defaults to `words`.
    421420     */
    422421    public function get_word_count_type() {
Note: See TracChangeset for help on using the changeset viewer.