apply_filters( ‘theme_locale’, string $locale, string $domain )

In this article

Filters a theme’s locale.

Parameters

$localestring
The theme’s current locale.
$domainstring
Text domain. Unique identifier for retrieving translated strings.

Source

$locale = apply_filters( 'theme_locale', determine_locale(), $domain );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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