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)
Source
File: wp-includes/customize/class-wp-customize-image-control.php
public function add_tab( $id, $label, $callback ) { _deprecated_function( __METHOD__, '4.1.0' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.1.0 | This method has been deprecated. |
3.4.0 | Introduced. |