mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
parent
bf17525093
commit
0154512f69
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ class PluginName {
|
|||
* @since 1.0.0
|
||||
*/
|
||||
public function load_plugin_textdomain() {
|
||||
|
||||
$domain = $this->plugin_slug;
|
||||
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
|
||||
|
||||
|
|
Loading…
Reference in a new issue