Skip to content

Instantly share code, notes, and snippets.

@grola grola/functions.php
Created Jan 24, 2018

Embed
What would you like to do?
Remove downloads from My Account page in Woocommerce
add_action( 'woocommerce_account_menu_items', 'studiowp_woocommerce_account_menu_items' );
function studiowp_woocommerce_account_menu_items( $items ) {
unset( $items['downloads'] );
return $items;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.