WordPress at a glance
filter is not described

plugin_locale filter-hook . WP 3.0.0

Filters a plugin's locale.

Usage

add_filter( 'plugin_locale', 'filter_function_name_9709', 10, 2 );
function filter_function_name_9709( $locale, $domain ){
	// filter...

	return $locale;
}
$locale(string)
The plugin's current locale.
$domain(string)
Text domain. Unique identifier for retrieving translated strings.

Where the hook is called

load_plugin_textdomain()
plugin_locale
load_muplugin_textdomain()
plugin_locale
WooCommerce::load_plugin_textdomain()
plugin_locale
wp-includes/l10n.php 786
$locale = apply_filters( 'plugin_locale', determine_locale(), $domain );
wp-includes/l10n.php 820
$locale = apply_filters( 'plugin_locale', determine_locale(), $domain );
woocommerce/includes/class-woocommerce.php 569
$locale = apply_filters( 'plugin_locale', $locale, 'woocommerce' );

Where the hook is used (in WP core)

Использование не найдено.