Move Product Specifications Tab After Description
-
Hi Amin,
I love this plug-in, so thank you for creating it! I am hoping you can help with one thing. When I use the plugin, the Product Specifications tab comes before the Description tab and I want the Description to remain the first tab.
I found the following in your plugin file:
/**
* Add tables to woocommerce tabs
*/
public function woocommerce_tabs( $tabs ){
$tabs[‘dw_product_specifications’] = array(
‘title’ => __( ‘Product specifications’, ‘dwspecs’ ),
‘priority’ => 10,
‘callback’ => array( $this, ‘woo_display_tab’ )
);return $tabs;
}If I change the priority to 25, it moves the tab after Description, which I want, but I don’t want to edit your file as future plugin updates will delete my change. When I copied the above code and moved it to my functions.php (I am using a Genesis theme) the plugin still overrode it. Can you help me with the proper code for me to put in functions.php that will override the plugin? I really appreciate the help!
The topic ‘Move Product Specifications Tab After Description’ is closed to new replies.