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

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

- Page: https://pluginprobe.com/plugins/learnpress/4.4.8/code/inc/admin/settings/class-lp-settings-profile.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.8/raw/inc/admin/settings/class-lp-settings-profile.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-profile.php#L10-L20`.

```php
<?php

/**
 * Class LP_Settings_Profile
 *
 * @author  ThimPress
 * @package LearnPress/Admin/Classes/Settings
 * @version 1.0
 */

use LearnPress\Helpers\Config;

defined( 'ABSPATH' ) || exit;

if ( class_exists( 'LP_Settings_Profile', false ) ) {
	return new LP_Settings_Profile();
}

class LP_Settings_Profile extends LP_Abstract_Settings_Page {

	/**
	 * Constructor
	 */
	public function __construct() {
		$this->id   = 'profile';
		$this->text = esc_html__( 'Profile', 'learnpress' );

		parent::__construct();
	}

	/**
	 * @param string $section
	 * @param string $tab
	 *
	 * @return array
	 */
	public function get_settings( $section = null, $tab = null ) {
		return Config::instance()->get( 'profile', 'settings' );
	}
}

return new LP_Settings_Profile();

```
