Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_filter( 'woocommerce_account_menu_items', 'remove_payment_methods_tab_my_account', 999 );
- function remove_payment_methods_tab_my_account( $items ) {
- unset($items['payment-methods']);
- return $items;
- }
Add Comment
Please, Sign In to add comment