Sindbad~EG File Manager

Current Path : /home/frekansk/www/wp-content/plugins/learnpress/inc/admin/settings/
Upload File :
Current File : //home/frekansk/www/wp-content/plugins/learnpress/inc/admin/settings/class-lp-settings-general.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();

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists