Home › Forums › WoodMart support forum › product Tabs error › Reply To: product Tabs error
February 6, 2024 at 7:10 pm
#537384

Hung Pham
Keymaster
Hi TRT,
Thanks for reaching to us.
Please use below code:
add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
function woo_reorder_tabs( $tabs ) {
$tabs['description']['priority'] = 5;
if ( ! empty( $tabs['wd_custom_tab'] ) ) {
$tabs['wd_custom_tab']['priority'] = 10; //complementos
}
$tabs['additional_information']['priority'] = 15;
$tabs['reviews']['priority'] = 50;
return $tabs;
}
Regards,