loader = new Wp360view_Loader(); // Initialize languages translations $this->set_locale_lang(); // Load Admin Settings $admin_settings = new Wp360view_Admin(); // Load Fronted Settings $frontend_settings = new Wp360view_Frontend(); } /** * Wp360view_i18n class in order to set the domain * * @since 1.0.0 * @access private */ private function set_locale_lang() { $plugin_i18n = new Wp360view_i18n(); $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'wp360view_load_plugin_textdomain' ); $this->run(); } /** * Execute all of the hooks with WordPress. * * @since 1.0.0 */ public function run() { $this->loader->run(); } }