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.

Source

File: wp-includes/l10n.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/plugin_locale