function __construct()
 {
     $this->id = 'pages';
     $this->text = __('Pages', 'learn_press');
     if ($sections = $this->get_sections()) {
         foreach ($sections as $id => $text) {
             add_action('learn_press_section_' . $this->id . '_' . $id, array($this, 'output_section_' . $id));
         }
     }
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'payment';
     $this->text = __('Payments', 'learn_press');
     parent::__construct();
 }