[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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  
  19      /**
  20       * Unique string identifier for the setting.
  21       *
  22       * @since 3.4.0
  23       * @var string
  24       */
  25      public $id = 'background_image_thumb';
  26  
  27      /**
  28       * @since 3.4.0
  29       *
  30       * @param mixed $value The value to update. Not used.
  31       */
  32  	public function update( $value ) {
  33          remove_theme_mod( 'background_image_thumb' );
  34      }
  35  }


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref