]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-includes/customize/class-wp-customize-background-image-setting.php
WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / customize / class-wp-customize-background-image-setting.php
1 <?php
2 /**
3  * Customize API: WP_Customize_Background_Image_Setting class
4  *
5  * @package WordPress
6  * @subpackage Customize
7  * @since 4.4.0
8  */
9
10 /**
11  * Customizer Background Image Setting class.
12  *
13  * @since 3.4.0
14  *
15  * @see WP_Customize_Setting
16  */
17 final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting {
18         public $id = 'background_image_thumb';
19
20         /**
21          * @since 3.4.0
22          *
23          * @param $value
24          */
25         public function update( $value ) {
26                 remove_theme_mod( 'background_image_thumb' );
27         }
28 }