Esempio n. 1
0
 /**
  * setup actions and hooks to add settings pate and save settings
  *
  * @since 1.0.0
  * @access protected
  */
 protected function actions()
 {
     // run parent actions ( keep 'admin_head' hook )
     parent::actions();
     if (empty($this->struct['page_title']) || empty($this->struct['menu_title'])) {
         return;
     }
     $this->setup_pages();
 }