WP_Customize_Header_Image_Control::__construct()
Constructor.
Method of the class: WP_Customize_Header_Image_Control{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Customize_Header_Image_Control = new WP_Customize_Header_Image_Control(); $WP_Customize_Header_Image_Control->__construct( $manager );
- $manager(WP_Customize_Manager) (required)
- Customizer bootstrap instance.
Changelog
Since 3.4.0 | Introduced. |
WP_Customize_Header_Image_Control::__construct() WP Customize Header Image Control:: construct code WP 6.6.2
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', ) ); }