id = 'general'; $this->text = esc_html__( 'General', 'learnpress' ); parent::__construct(); } /** * Return fields for settings page. * * @param string $section * @param string $tab * * @return mixed */ public function get_settings( $section = '', $tab = '' ) { return Config::instance()->get( 'general', 'settings' ); } } return new LP_Settings_General();