WordPress at Your Fingertips
function is not described

WC_Marketplace_Suggestions::product_data_tabs() public WC 1.0

Product data tabs filter

Adds a new Extensions tab to the product data meta box.

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

No Hooks.

Return

Array.

Usage

$result = WC_Marketplace_Suggestions::product_data_tabs( $tabs );
$tabs(array) (required)
Existing tabs.

Code of WC_Marketplace_Suggestions::product_data_tabs() WC 5.9.0

public static function product_data_tabs( $tabs ) {
	$tabs['marketplace-suggestions'] = array(
		'label'    => _x( 'Get more options', 'Marketplace suggestions', 'woocommerce' ),
		'target'   => 'marketplace_suggestions',
		'class'    => array(),
		'priority' => 1000,
	);

	return $tabs;
}