3 * Customize API: WP_Customize_Background_Image_Control class
6 * @subpackage Customize
11 * Customize Background Image Control class.
15 * @see WP_Customize_Image_Control
17 class WP_Customize_Background_Image_Control extends WP_Customize_Image_Control {
18 public $type = 'background';
24 * @uses WP_Customize_Image_Control::__construct()
26 * @param WP_Customize_Manager $manager Customizer bootstrap instance.
28 public function __construct( $manager ) {
29 parent::__construct( $manager, 'background_image', array(
30 'label' => __( 'Background Image' ),
31 'section' => 'background_image',
36 * Enqueue control related scripts/styles.
40 public function enqueue() {
43 wp_localize_script( 'customize-controls', '_wpCustomizeBackground', array(
45 'add' => wp_create_nonce( 'background-add' ),