WP_Customize_Background_Image_Control::__construct
Constructor.
Method of the class: WP_Customize_Background_Image_Control{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Customize_Background_Image_Control = new WP_Customize_Background_Image_Control(); $WP_Customize_Background_Image_Control->__construct( $manager );
- $manager(WP_Customize_Manager) (required)
- Customizer bootstrap instance.
Changelog
| Since 3.4.0 | Introduced. |
WP_Customize_Background_Image_Control::__construct() WP Customize Background Image Control:: construct code WP 7.0.2
public function __construct( $manager ) {
parent::__construct(
$manager,
'background_image',
array(
'label' => __( 'Background Image' ),
'section' => 'background_image',
)
);
}