예제 #1
0
 /**
  * Run the loader to execute all of the hooks with WordPress.
  *
  * Load the dependencies, define the locale, and set the hooks for the Dashboard and
  * the public-facing side of the site.
  *
  * @since    1.0.0
  */
 public function run()
 {
     $this->setLocale();
     $this->defineAdminHooks();
     $this->defineFrontendHooks();
     $this->loader->run();
 }
예제 #2
0
 /**
  * Run the loader to execute all of the hooks with WordPress.
  *
  * Load the dependencies, define the locale, and set the hooks for the Dashboard and
  * the public-facing side of the site.
  *
  * @since    1.0.0
  */
 public function run()
 {
     $this->set_locale();
     $this->define_admin_hooks();
     $this->define_plugin_hooks();
     $this->loader->run();
 }