WP_Customize_Background_Image_Setting WordPress Class
The WP_Customize_Background_Image_Setting class is responsible for handling the saving and retrieving of background image settings for the WordPress Customizer. This class extends the WP_Customize_Image_Setting class to provide additional functionality specifically for background images.
WP_Customize_Background_Image_Setting #
Customizer Background Image Setting class.
Description
See also
Source
File: wp-includes/customize/class-wp-customize-background-image-setting.php
final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting {
public $id = 'background_image_thumb';
/**
* @since 3.4.0
*
* @param mixed $value The value to update. Not used.
*/
public function update( $value ) {
remove_theme_mod( 'background_image_thumb' );
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Methods
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |