WordPress at a glance
function is not described

WP_Customize_Image_Control::add_tab() public WP 3.4.0

Deprecated from version 4.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

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

No Hooks.


null. Nothing.


$WP_Customize_Image_Control = new WP_Customize_Image_Control();
$WP_Customize_Image_Control->add_tab( $id, $label, $callback );
$id(string) (required)
$label(string) (required)
$callback(mixed) (required)


Since 3.4.0 Introduced.
Deprecated 4.1.0

Code of WP_Customize_Image_Control::add_tab() WP 5.7.2

public function add_tab( $id, $label, $callback ) {
	_deprecated_function( __METHOD__, '4.1.0' );