home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / WP.iso / wordpress / wp-includes / customize / class-wp-customize-background-image-setting.php < prev    next >
Encoding:
PHP Script  |  2015-10-24  |  508 b   |  29 lines

  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. }
  29.