# learnpress/4.4.8/inc/admin/settings/class-lp-settings-general.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.8. 38 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.8/code/inc/admin/settings/class-lp-settings-general.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.8/raw/inc/admin/settings/class-lp-settings-general.php
- Modified: 2026-09-18T11:22:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.8/code/inc/admin/settings/class-lp-settings-general.php#L10-L20`.

```php
<?php

use LearnPress\Helpers\Config;

/**
 * Class LP_Settings_General
 *
 * @author  ThimPress
 * @package LearnPress/Admin/Settings/Classes
 * @version 1.0
 */
class LP_Settings_General extends LP_Abstract_Settings_Page {
	/**
	 * Construct
	 */
	public function __construct() {
		$this->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();

```
