This commit is contained in:
KhaiNguyen
2020-02-13 10:39:37 +07:00
commit 59401cb805
12867 changed files with 4646216 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?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 );
}
}