Warning: This method has been deprecated.

WP_Customize_Image_Control::add_tab() WordPress Method

The WP_Customize_Image_Control::add_tab() method allows you to add a new tab to the image control. This is useful if you want to add a new tab for a specific type of image.

WP_Customize_Image_Control::add_tab( string $id, string $label, mixed $callback ) #


Parameters

$id

(string)(Required)

$label

(string)(Required)

$callback

(mixed)(Required)


Top ↑

Source

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

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


Top ↑

Changelog

Changelog
VersionDescription
4.1.0This method has been deprecated.
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.