# Rename and Reorder Product Tabs

> Changes the titles and order of the Description, Additional information and Reviews tabs on product pages.

- Type: PHP
- Runs: Run everywhere
- Category: [WooCommerce](https://wpide.com/library/category/woocommerce/)
- Requires: WooCommerce
- Tags: woocommerce, product-page, tabs
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/woo-rename-reorder-tabs/

## Code

```php
add_filter( 'woocommerce_product_tabs', function ( $tabs ) {
    // Tab => array( new title, priority ).
    $settings = array(
        'description'            => array( 'Details', 10 ),
        'reviews'                => array( '', 20 ),
        'additional_information' => array( 'Specifications', 30 ),
    );

    foreach ( $settings as $key => $setting ) {
        if ( ! isset( $tabs[ $key ] ) ) {
            continue;
        }

        if ( '' !== $setting[0] ) {
            $tabs[ $key ]['title'] = $setting[0];
        }

        $tabs[ $key ]['priority'] = $setting[1];
    }

    return $tabs;
}, 98 );
```

## Notes

Lower priority numbers come first. Leave a title empty to keep the default.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Rename and Reorder Product Tabs" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
