Filters a theme’s locale.
Parameters
$locale
string- The theme’s current locale.
$domain
string- Text domain. Unique identifier for retrieving translated strings.
Source
$locale = apply_filters( 'theme_locale', determine_locale(), $domain );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.