WP_Customize_Background_Image_Control::__construct() WordPress Method

The WP_Customize_Background_Image_Control::__construct() method allows a user to control the background image for a WordPress site. This method is called when the user initializes the customizer.

WP_Customize_Background_Image_Control::__construct( WP_Customize_Manager $manager ) #

Constructor.


Parameters

$manager

(WP_Customize_Manager)(Required)Customizer bootstrap instance.


Top ↑

Source

File: wp-includes/customize/class-wp-customize-background-image-control.php

	public function __construct( $manager ) {
		parent::__construct(
			$manager,
			'background_image',
			array(
				'label'   => __( 'Background Image' ),
				'section' => 'background_image',
			)
		);
	}


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.