Filters the locale ID of the WordPress installation.
$localestringwp-includes/l10n.php:35get_locale()wp-includes/l10n.php:80get_locale() * Filters the locale ID of the WordPress installation. * * @since 1.5.0 * * @param string $locale The locale ID. */ return apply_filters( 'locale', $locale );} /** * Retrieves the locale of a user. * * If the user has a locale set to a non-empty string then it will beIntroduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.