WC_Marketplace_Suggestions::product_data_tabs( array $tabs )

Product data tabs filter


Description Description

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


Parameters Parameters

$tabs

(Required) Existing tabs.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php

	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;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.