Created
January 8, 2019 14:11
-
-
Save aslamahamed13/1f6590dd5ba77bcaa2c7e407eef65290 to your computer and use it in GitHub Desktop.
Tokoo- remove my account dashboard 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_filter ( 'woocommerce_account_menu_items', 'tokoo_child_remove_my_account_links' ); | |
function tokoo_child_remove_my_account_links( $menu_links ){ | |
unset( $menu_links['edit-address'] ); | |
unset( $menu_links['dashboard'] ); | |
return $menu_links; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment