Skip to content

Instantly share code, notes, and snippets.

@JohnBunka
Forked from woogists/wc-remove-tabs.php
Last active April 19, 2018 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnBunka/0fc67a9a2cee1a07b81e0574d575ec60 to your computer and use it in GitHub Desktop.
Save JohnBunka/0fc67a9a2cee1a07b81e0574d575ec60 to your computer and use it in GitHub Desktop.
Remove the additional information tab only
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] ); // Remove the additional information tab
return $tabs;
}
@JohnBunka
Copy link
Author

Edited to show how to only remove the additional information tab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment