Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am s4nji on github.
* I am s4nji (https://keybase.io/s4nji) on keybase.
* I have a public key ASDoTrXmnCggtpuWHspE7qMeUto5WJuYNDm27-_-473z2Qo
To claim this, I am signing this object:
@s4nji
s4nji / functions.php
Last active December 14, 2015 23:49 — forked from mikejolley/functions.php
Rehooking should be done using add_action().
<?php
add_action( 'wp' , 'wc_order_tabs' );
function wc_order_tabs() {
// Remove tabs
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 10 );
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_attributes_tab', 20 );
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30 );