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

Top ↑

See also


Top ↑

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' );
	}
}


Top ↑

Methods


Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.