W3cubDocs

/WordPress

WP_Customize_Image_Control::__construct( WP_Customize_Manager $manager, string $id, array $args = array() )

Constructor.

Parameters

$manager

(WP_Customize_Manager) (Required) Customizer bootstrap instance.

$id

(string) (Required) Control ID.

$args

(array) (Optional) Arguments to override class property defaults.

Default value: array()

Source

File: wp-includes/customize/class-wp-customize-image-control.php

* @param string $id
	 * @param string $label
	 * @param mixed  $callback
	 */
	public function add_tab( $id, $label, $callback ) {
		_deprecated_function( __METHOD__, '4.1.0' );
	}

	/**
	 * @since 3.4.0
	 * @deprecated 4.1.0
	 *
	 * @param string $id

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_image_control/__construct