[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/customize/ -> class-wp-customize-background-image-setting.php (source)

   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 mixed $value The value to update. Not used.
  24       */
  25  	public function update( $value ) {
  26          remove_theme_mod( 'background_image_thumb' );
  27      }
  28  }


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1