D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ltfsolutionsco
/
www
/
wp-content
/
plugins
/
ml-slider
/
admin
/
support
/
Filename :
Settings.php
back
Copy
<?php if (!defined('ABSPATH')) { die('No direct access.'); } if (! class_exists('MetaSlider_Settings')) { /** * Class to handle settings for MetaSlider. */ class MetaSlider_Settings { const GLOBAL_OPTIONS_OPTION_NAME = 'metaslider_global_settings'; /** * Instance object * * @var MetaSlider_Settings * @see get_instance() */ protected static $instance = null; public function __construct() { } /** * Used to access the instance * * @return MetaSlider_Settings - class instance */ public static function get_instance() { if (null === self::$instance) { self::$instance = new self(); } return self::$instance; } private function get_option($option_name, $default = null) { $settings = get_option(self::GLOBAL_OPTIONS_OPTION_NAME); if (false === $settings) { return $default; } if (! isset($settings[$option_name])) { return $default; } return $settings[$option_name]; } } }
Name
Size
Last Modified
Owner
Permissions
Actions
Analytics.php
10.028
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
Settings.php
1.224
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
2017 © D7net | D704T team