Esempio n. 1
0
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 2.2.0
  */
 public function __construct()
 {
     self::$instance = $this;
     $this->theme_options_file = $this->demo_files_path . $this->theme_options_file_name;
     $this->widgets = $this->demo_files_path . $this->widgets_file_name;
     $this->content_demo = $this->demo_files_path . $this->content_demo_file_name;
     add_action('admin_menu', array($this, 'add_admin'));
 }