Change the order of the product tabs on your WooCommerce website.
Change the priority numbers to match your desired ordering.
Change the order of the product tabs on your WooCommerce website.
Change the priority numbers to match your desired ordering.
add_filter( 'woocommerce_product_tabs', 'guyPrimavera_reorder_woo_tabs', 99 );
function guyPrimavera_reorder_woo_tabs( $tabs ) {
$tabs['description']['priority'] = 30; // Description last
$tabs['reviews']['priority'] = 10; // Reviews first
$tabs['additional_information']['priority'] = 20; // Additional information second
return $tabs;
}
Paste this snippet into your theme's functions.php or in a WordPress plugin.