WPide Tabs Code causing error
-
So I was trying to remove the “additional info” tab under a product in the Flatsome Woocommerce theme. I googled the code I would use to remove it. I also downloaded the plugin WPide so that I could attempt to even edit the code because I know nothing about coding. I pasted code that someone said would remove the additional info tab but it just showed up as code on the bottom of the page. So then I removed said code but now it says there’s a syntax error.
error: Parse Error: Syntax error, unexpected EOF, expecting T_ENDIF on line 76
The code I tried to paste below everything (oops?) was the following
/**
* @snippet Remove Additional Information Tab @ WooCommerce Single Product Page
* @how-to Get CustomizeWoo.com FREE
* @author Rodolfo Melogli
* @testedwith WooCommerce 3.8
* @donate $9 https://businessbloomer.com/bloomer-armada/
*/add_filter( ‘woocommerce_product_tabs’, ‘bbloomer_remove_product_tabs’, 9999 );
function bbloomer_remove_product_tabs( $tabs ) {
unset( $tabs[‘additional_information’] );
return $tabs;
}The page I need help with: [log in to see the link]
- The topic ‘WPide Tabs Code causing error’ is closed to new replies.