How to rearrange my account navigation license manager link
-
So right now License manager link shows last in the navigation of my account page. How can i change its position?
I know there’s this for the rest of woocommerce links but what is it for license manager?
add_filter( 'woocommerce_account_menu_items', 'rearrange_link_my_account' ); function rearrange_link_my_account( $items ) { $newitems = array( 'dashboard' => __( 'Dashboard', 'woocommerce' ), 'customer-logout' => __( 'Logout', 'woocommerce' ), 'edit-address' => _n( 'Addresses', 'Address', (int) wc_shipping_enabled(), 'woocommerce' ), 'edit-account' => __( 'Account details', 'woocommerce' ), 'orders' => __( 'Orders', 'woocommerce' ), 'downloads' => __( 'Downloads', 'woocommerce' ), 'payment-methods' => __( 'Payment methods', 'woocommerce' ), ); return $newitems; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to rearrange my account navigation license manager link’ is closed to new replies.