File "class-customizer-option.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/kadence-starter-templates/inc/class-customizer-option.php
File size: 565 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* A class that extends WP_Customize_Setting so we can access
* the protected updated method when importing options.
*
* Used in the Customizer importer.
*
* @since 1.1.1
* @package Kadence Starter Templates
*/
namespace KadenceWP\KadenceStarterTemplates;
use WP_Customize_Setting;
final class CustomizerOption extends \WP_Customize_Setting {
/**
* Import an option value for this setting.
*
* @since 1.1.1
* @param mixed $value The option value.
* @return void
*/
public function import( $value ) {
$this->update( $value );
}
}