WP_Customize_Background_Image_Setting::updatepublicWP 3.4.0

Method of the class: WP_Customize_Background_Image_Setting{}

No Hooks.

Returns

true. Always returns true.

Usage

$WP_Customize_Background_Image_Setting = new WP_Customize_Background_Image_Setting();
$WP_Customize_Background_Image_Setting->update( $value );
$value(mixed) (required)
The value to update. Not used.

Changelog

Since 3.4.0 Introduced.
Since 7.0.0 Return type updated from void to true for compatibility with base class.

WP_Customize_Background_Image_Setting::update() code WP 7.0

public function update( $value ) {
	remove_theme_mod( 'background_image_thumb' );
	return true;
}