apply_filters( 'plugin_locale', string $locale, string $domain )

Filters a plugin’s locale.


Parameters

$locale string
The plugin's current locale.
$domain string
Text domain. Unique identifier for retrieving translated strings.

Top ↑

Source

File: wp-includes/l10n.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

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