Filters a plugin’s locale.
Parameters
$locale
string- The plugin’s current locale.
$domain
string- Text domain. Unique identifier for retrieving translated strings.
Source
$locale = apply_filters( 'plugin_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.