WordPress at a glance
function is not described

WP_Customize_Background_Image_Control::enqueue() public WP 4.1.0

Enqueue control related scripts/styles.

{} It's a method of the class: WP_Customize_Background_Image_Control{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Background_Image_Control = new WP_Customize_Background_Image_Control();
$WP_Customize_Background_Image_Control->enqueue();

Changelog

Since 4.1.0 Introduced.

Code of WP_Customize_Background_Image_Control::enqueue() WP 5.7.2

<?php
public function enqueue() {
	parent::enqueue();

	$custom_background = get_theme_support( 'custom-background' );
	wp_localize_script(
		'customize-controls',
		'_wpCustomizeBackground',
		array(
			'defaults' => ! empty( $custom_background[0] ) ? $custom_background[0] : array(),
			'nonces'   => array(
				'add' => wp_create_nonce( 'background-add' ),
			),
		)
	);
}