Esempio n. 1
0
 /**
  * Get the instance of the Largo Customizer
  */
 public static function get_instance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new Largo_Customizer();
         self::$instance->load();
     }
     return self::$instance;
 }
Esempio n. 2
0
 /**
  * Load the theme
  */
 private function load()
 {
     $this->require_files();
     $this->register_nav_menus();
     $this->register_media_sizes();
     $this->template_constants();
     $this->customizer = Largo_Customizer::get_instance();
 }