WP_Customize_Header_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-header-image-control.php. View all references

public function __construct( $manager ) {
	parent::__construct(
		$manager,
		'header_image',
		array(
			'label'    => __( 'Header Image' ),
			'settings' => array(
				'default' => 'header_image',
				'data'    => 'header_image_data',
			),
			'section'  => 'header_image',
			'removed'  => 'remove-header',
			'get_url'  => 'get_header_image',
		)
	);

}


Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.