id = 'advanced'; $this->text = esc_html__( 'Advanced', 'learnpress' ); parent::__construct(); } public function get_settings( $section = '', $tab = '' ) { return Config::instance()->get( 'advanced', 'settings' ); } /** * Get sections for advanced settings. * * @return array */ public function get_sections() { return array( 'general' => esc_html__( 'General', 'learnpress' ), ); } } return new LP_Settings_Advanced();