Want to know what WordPress Theme a site is using? Check Out Now!

How to Remove / Rename the “Additional Information” Data Tab in WooCommerce?

Additional Information is one of the three tabs that you will find on a WooCommerce product page.

Additional Information displays extra attributes associated with a product. These extra attributes include weight, dimension, colors, and other additional information.

Remove the Additional Tab in WooCommerce Product Page

Some website owners do not use the additional information tab. In that case, it would be ideal for removing it instead of leaving it empty as it ruins the user experience.

So, if you want to remove the Additional Information tab, you can use the code snippet below.

/**
 * Remove WooCommerce Additional Information Tab
 *
 * @param array $tabs
 * @return array $tabs
 */
function maverick_remove_woocommerce_additional_information_tab($tabs)
{
    unset($tabs['additional_information']);
    return $tabs;
}

add_filter('woocommerce_product_tabs', 'maverick_remove_woocommerce_additional_information_tab', 98);

Rename the Additional Information Tab on WooCommerce Product Page

If you want to rename the Additional Information tab, you can use the code snippet below.

/**
 * Rename WooCommerce Additional Information Tab
 *
 * @param array $tabs
 * @return array $tabs
 */
function maverick_rename_woocommerce_additional_information_tab($tabs)
{
    $tabs['description']['title'] = __( 'More Information' );
    return $tabs;
}

add_filter('woocommerce_product_tabs', 'maverick_rename_woocommerce_additional_information_tab', 98);

Leave a Reply

Your email address will not be published. Required fields are marked *