2015-10-24 20:11:24 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2015-10-24 20:21:25 +02:00
|
|
|
* Customize API: WP_Customize_Background_Image_Setting class
|
2015-10-24 20:11:24 +02:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Customize
|
|
|
|
* @since 4.4.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Customizer Background Image Setting class.
|
|
|
|
*
|
|
|
|
* @since 3.4.0
|
|
|
|
*
|
|
|
|
* @see WP_Customize_Setting
|
|
|
|
*/
|
|
|
|
final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting {
|
|
|
|
public $id = 'background_image_thumb';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @since 3.4.0
|
|
|
|
*
|
2021-07-01 23:02:57 +02:00
|
|
|
* @param mixed $value
|
2015-10-24 20:11:24 +02:00
|
|
|
*/
|
|
|
|
public function update( $value ) {
|
|
|
|
remove_theme_mod( 'background_image_thumb' );
|
|
|
|
}
|
|
|
|
}
|