Re-order the product tabs in WooCommerce

add_filter( 'woocommerce_product_tabs', 'reorder_woocommerce_product_tabs', 98 );
function reorder_woocommerce_product_tabs( $tabs ) {
   $tabs['reviews']['priority']                = 5;  // Reviews first
   $tabs['description']['priority']            = 10; // Description second
   $tabs['additional_information']['priority'] = 15; // Additional information third
   return $tabs;
}

Leave a Comment