woocommerce_product_tabs

The woocommerce_product_tabs filter lets you change the tabs shown with a WooCommerce product. WooCommerce passes an associative array containing tab definitions, and your callback must return the array after making any changes. Typical keys are description, additional_information, and reviews. A tab definition contains its title, display callback, and priority; the array key itself is not the visible tab label.

TypeFilter hook
Argument and return value$tabs (array)
Primary useSingle-product tabs in classic WooCommerce templates
SourceWooCommerce tabs template

Remove the Reviews tab

add_filter( 'woocommerce_product_tabs', function ( $tabs ) {
    unset( $tabs['reviews'] );
    return $tabs;
}, 30 );

This removes the Reviews tab from the displayed tab array; it does not disable product reviews elsewhere in WooCommerce. The callback runs after WooCommerce's default tab definitions and after HoverCraft's own tab-label adjustment. Put this kind of customization in a site-specific plugin or a child theme's functions.php, then check a product page.

Labels, priorities, and block templates

WooCommerce registers the default tabs at priority 10 and sorts them at 99. HoverCraft uses this same filter at priority 20 to rename the Additional Information tab to Product Specs. It also changes the heading inside that tab through woocommerce_product_additional_information_heading. Other themes or plugins may change these defaults. If you need to override HoverCraft's tab title, run your own filter later, such as at priority 30, while keeping the original additional_information key. See the theme implementation for the exact callbacks.

The classic single-product tabs template applies this filter directly. The Product Details block can also use the legacy tabs markup as a fallback, while its editable block-based layout handles the default tabs differently and preserves compatibility for some custom tabs. Check the rendered layout rather than assuming every block configuration behaves like the classic template. WooCommerce explains this distinction in its product-page theming documentation.