Remove Tab from Single Product Page
-
I am trying to remove the tab for the plugin on all my pages since I am trying to use the shortcode to display it in a different way.
However the following code does not work in removing the tab:
add_filter( 'woocommerce_product_tabs', 'remove_specification_tab', 99 ); function remove_specification_tab( $tabs ){ unset ($tabs['dw_product_specifications']); return $tabs; }
Unset seems to not work, how can I remove the tab?
- The topic ‘Remove Tab from Single Product Page’ is closed to new replies.