WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

woocommerce_product_data_tabs хук-фильтр . WC 1.0

Return array of tabs to show.

Использование

add_filter( 'woocommerce_product_data_tabs', 'filter_function_name_437' );
function filter_function_name_437( $array ){
	// filter...

	return $array;
}
$array
-

Где вызывается хук

WC_Meta_Box_Product_Data::get_product_data_tabs()
woocommerce_product_data_tabs
woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php 83-129
$tabs = apply_filters(
	'woocommerce_product_data_tabs',
	array(
		'general'        => array(
			'label'    => __( 'General', 'woocommerce' ),
			'target'   => 'general_product_data',
			'class'    => array( 'hide_if_grouped' ),
			'priority' => 10,
		),
		'inventory'      => array(
			'label'    => __( 'Inventory', 'woocommerce' ),
			'target'   => 'inventory_product_data',
			'class'    => array( 'show_if_simple', 'show_if_variable', 'show_if_grouped', 'show_if_external' ),
			'priority' => 20,
		),
		'shipping'       => array(
			'label'    => __( 'Shipping', 'woocommerce' ),
			'target'   => 'shipping_product_data',
			'class'    => array( 'hide_if_virtual', 'hide_if_grouped', 'hide_if_external' ),
			'priority' => 30,
		),
		'linked_product' => array(
			'label'    => __( 'Linked Products', 'woocommerce' ),
			'target'   => 'linked_product_data',
			'class'    => array(),
			'priority' => 40,
		),
		'attribute'      => array(
			'label'    => __( 'Attributes', 'woocommerce' ),
			'target'   => 'product_attributes',
			'class'    => array(),
			'priority' => 50,
		),
		'variations'     => array(
			'label'    => __( 'Variations', 'woocommerce' ),
			'target'   => 'variable_product_options',
			'class'    => array( 'variations_tab', 'show_if_variable' ),
			'priority' => 60,
		),
		'advanced'       => array(
			'label'    => __( 'Advanced', 'woocommerce' ),
			'target'   => 'advanced_product_data',
			'class'    => array(),
			'priority' => 70,
		),
	)
);

Где используется хук (в ядре WC)

includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php 27
add_action( 'woocommerce_product_data_tabs', array( __CLASS__, 'product_data_tabs' ) );