*/ class i18n extends WordPressHooks { public function __construct() { parent::__construct(); } /** * Load the plugin text domain for translation. * */ public function action__plugins_loaded() { load_plugin_textdomain( 'index-wp-users-for-speed', false, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' ); } } new i18n();