Esempio n. 1
0
 /**
  * Define the locale for this plugin for internationalization.
  *
  * Uses the I18n class in order to set the domain and to register the hook
  * with WordPress.
  *
  * @since    1.0.0
  * @access   private
  */
 private function setLocale()
 {
     $plugin_i18n = new I18n();
     $plugin_i18n->setDomain($this->getName());
     $plugin_i18n->loadPluginTextdomain();
 }