wp/wp-includes/customize/class-wp-customize-background-image-setting.php
changeset 7 cf61fcea0001
child 19 3d72ae0968f4
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
       
     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 }