Search
Close this search box.

How to change any menu item label from My Account Menu section in woocommerce

Amitpal Singh
Amitpal Singh
October 25, 2021
add_filter ( 'woocommerce_account_menu_items', 'amit_customize_account_menu_items' );
 function amit_customize_account_menu_items( $menu_items ){
     
    // Chnage the Menu Item name text
    $menu_items['dashboard'] = 'My Account'; // Rename "Dasboard" in My Account menu to 'My Account'
    $menu_items['orders'] = 'My Orders'; // Rename 'Ordrers' to 'My Orders'
    $menu_items['edit-address'] = 'My Addresses'; //Rename 'Addresses' to 'My Addresses'
    return $menu_items;
} 

Share this post:

How to Attribute?

Lorem ipsum is typically a corrupted version of De finibus bonorum et malorum, a 1st-century BC text by the Roman statesman and philosopher Cicero.
for Example: Website, Social Media, Blogs, ebooks , newsletter, etc.
Lorem ipsum is typically a corrupted version of De finibus bonorum et malorum, a 1st-century BC text by the Roman statesman and philosopher Cicero.
Copied!

Got a Question? Check out our FAQ Section.

Your action, our appreciation

It encourage us to give you more valuable content on website.