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

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.1.7.3. 35 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.1.7.3/code/inc/admin/settings/class-lp-settings-general.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.7.3/raw/inc/admin/settings/class-lp-settings-general.php
- Modified: 2022-11-02T07:32:08+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.1.7.3/code/inc/admin/settings/class-lp-settings-general.php#L10-L20`.

```php
<?php

/**
 * 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 require_once LP_PLUGIN_PATH . 'config/settings/general.php';
	}

}
return new LP_Settings_General();

```
