Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
one-click-demo-import
/
inc
:
CustomizerOption.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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 ocdi */ namespace OCDI; 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 ); } }