plugin_locale, acf_get_locale(
plugin_locale, acf_get_locale(
Appears in: advanced-custom-fields.6.8.6
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.8.6apply_filters('plugin_locale, acf_get_locale(') is found 1 times:
- /includes/l10n.php line 125
* * @param string $locale The plugin's current locale. * @param string $domain Text domain. Unique identifier for retrieving translated strings. */ $locale = apply_filters( 'plugin_locale', acf_get_locale(), $domain ); $mofile = $domain . '-' . $locale . '.mo'; // Load from plugin lang folder. return load_textdomain( $domain, acf_get_path( 'lang/' . $mofile ) ); }