• File: class-avada-settings.php
  • Full Path: /home/docteuh/www/themes/Avada/includes/options/class-avada-settings.php
  • Date Modified: 11/20/2023 6:11 PM
  • File size: 800 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Settings handler.
 *
 * @author     ThemeFusion
 * @copyright  (c) Copyright by ThemeFusion
 * @link       https://avada.com
 * @package    Avada
 * @subpackage Core
 * @since      3.8
 */

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'Direct script access denied.' );
}

/**
 * Get & set setting values.
 */
class Avada_Settings extends Fusion_Settings {

	/**
	 * Access the single instance of the parent class.
	 *
	 * @return Fusion_Settings
	 */
	public static function get_instance() {
		if ( null === parent::$instance ) {
			parent::$instance = new parent(); // phpcs:ignore Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty
		}
		return parent::$instance;
	}

}

/* Omit closing PHP tag to avoid "Headers already sent" issues. */