Created
January 31, 2018 09:56
-
-
Save robin-scott/d47632a557a0585ac57ed5bc50a6c112 to your computer and use it in GitHub Desktop.
Remove woocommerce description tab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add this to functions.php, a custom plugin, or a snippets plugin to remove the description tab in woocommerce | |
// by Robin Scott of Silicon Dales - full info at https://silicondales.com/tutorials/woocommerce-tutorials/remove-description-tab-woocommerce/ | |
add_filter( 'woocommerce_product_tabs', 'sd_remove_product_tabs', 98 ); | |
function sd_remove_product_tabs( $tabs ) { | |
unset( $tabs['description'] ); | |
return $tabs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment