Move Subscription Menu link on My Account Menu
-
I was used to using the following code snippet to rearrange the account menu
function my_account_menu_order() { $menuOrder = array( 'dashboard' => __( 'Dashboard', 'woocommerce' ), 'my-subscription' => __( 'Subscriptions', 'ywsbs_endpoint' ), 'orders' => __( 'Orders', 'woocommerce' ), 'tinv_wishlist' => __( 'Favorites', 'woocommerce' ), 'edit-account' => __( 'Account Details', 'woocommerce' ), 'customer-logout' => __( 'Logout', 'woocommerce' ), ); return $menuOrder; } add_filter ( 'woocommerce_account_menu_items', 'my_account_menu_order' );
but recently I start getting 2 my-subscription items in the account menu, One where I added manually and the second above the log-out link, How can I remove the second subscription link from the My Account page
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Move Subscription Menu link on My Account Menu’ is closed to new replies.