Customize WooCommerce My Account Page Without a Plugin

The WooCommerce My Account page is where your customers check orders, download files, edit addresses, and update their password. By default it looks plain: a short list of tabs on the left and a simple welcome message on the right. That default works, but it rarely matches the rest of your store, and it shows tabs your customers may never need, such as Downloads on a store that sells no digital products.
This guide shows how to customize the WooCommerce My Account page without a plugin, using a few small code snippets and some CSS. You will learn how the page works, how to rename, reorder, and remove tabs, how to add a custom tab of your own, how to disable endpoints properly, and how to style the whole page to match your brand. Every snippet is standard WooCommerce code, and the whole job takes under an hour.
How Does the WooCommerce My Account Page Work?
The My Account page is a single WordPress page that WooCommerce turns into a small dashboard. When you install WooCommerce, it creates a page called My Account and places the shortcode [woocommerce_my_account] inside it. That shortcode tells WooCommerce to show either the login and registration forms to visitors, or the account dashboard to logged in customers.
The dashboard is organised into sections called endpoints. Each endpoint is a short slug added to the page URL, such as /my-account/orders/ for the Orders tab and /my-account/edit-address/ for the Addresses tab. The default endpoints are Dashboard, Orders, Downloads, Addresses, Payment Methods, Account Details, and Logout. WooCommerce reads the endpoint from the URL and shows the matching content, which is why the page can hold so many sections without needing a separate WordPress page for each one.
Understanding endpoints matters, because almost every customisation in this guide works through them. Renaming a tab changes only its label, while removing an endpoint changes which sections exist at all. Before you change anything, open the page as a customer and click every tab, so you know what your customers actually see today. If you are still setting up the store, our web hosting guide explains how to choose hosting that keeps WooCommerce fast, and our guide to WooCommerce product variations helps you finish the catalogue first.
What Should You Do Before You Customize the Page?
All the methods below use code in your child theme functions file or a code snippets plugin, plus a little CSS. Prepare properly before you start, because a typo in functions.php can break the whole site, and a wrong endpoint change can hide the Orders tab your customers need most.
- Back up the full site, files and database, before you edit any code. See our guide to back up your WordPress database without a plugin.
- Use a child theme or a code snippets plugin, so a theme update does not delete your changes.
- Create a test customer account with a real order, so you can test every tab exactly as a customer sees it.
- Keep FTP or File Manager access ready, so you can remove a snippet quickly if something goes wrong.
How Do You Rename, Reorder, and Remove Tabs?
The simplest customisation is changing the tab labels. WooCommerce provides a filter called woocommerce_account_menu_items that hands you the full list of tabs as an array, with each endpoint slug as the key and its label as the value. You can change any label, delete any item, or rebuild the whole array in a new order. The snippet below renames two tabs and removes the Downloads tab, which suits a store that sells only physical products.
add_filter( 'woocommerce_account_menu_items', 'vtg_custom_account_menu_items' );
function vtg_custom_account_menu_items( $items ) {
$items['dashboard'] = 'My Dashboard';
$items['orders'] = 'My Orders';
unset( $items['downloads'] );
return $items;
}
Add this snippet to your child theme functions.php file or a code snippets plugin, then refresh the My Account page. The Dashboard tab now reads My Dashboard, Orders reads My Orders, and Downloads is gone from the menu. To reorder the tabs, rebuild the array in the order you want instead of editing single items. Put Orders first if most customers visit only to track an order, or put Account Details first if your store needs customers to keep their details current.
Be careful about which tabs you remove. Orders, Addresses, and Account Details are the tabs customers use most, so hiding them creates support emails instead of a cleaner page. Remove only tabs that truly do not apply to your store, such as Downloads on a physical goods store, or Payment Methods on a cash on delivery store. If you want to hide prices or change what guests see, read our guides to hide prices in WooCommerce and set a minimum order amount in WooCommerce for related store customisations.
How Do You Add a Custom Tab?
A custom tab needs three pieces: a registered endpoint, a menu item that points to it, and content to show when a customer opens it. The snippet below adds a My Rewards tab. First it registers a rewards endpoint with add_rewrite_endpoint, then it adds the tab to the menu, then it prints content when WooCommerce loads that endpoint. This pattern works for any tab you can imagine: a loyalty points page, a support page, a size guide, or a link to your returns policy.
add_action( 'init', 'vtg_add_rewards_endpoint' );
function vtg_add_rewards_endpoint() {
add_rewrite_endpoint( 'rewards', EP_ROOT | EP_PAGES );
}
add_filter( 'woocommerce_account_menu_items', 'vtg_add_rewards_menu_item' );
function vtg_add_rewards_menu_item( $items ) {
$items['rewards'] = 'My Rewards';
return $items;
}
add_action( 'woocommerce_account_rewards_endpoint', 'vtg_rewards_endpoint_content' );
function vtg_rewards_endpoint_content() {
echo '<p>Your rewards balance and available offers appear here.</p>';
}
After adding this code, go to Settings, then Permalinks, and click Save Changes without changing anything. That step flushes the rewrite rules, which tells WordPress about your new endpoint. If you skip it, the new tab link leads to a 404 page. This flush step is the most common reason a new custom tab appears in the menu but does not open, so do it every time you register or rename an endpoint.
Keep the content of a custom tab simple at first. A short paragraph and a link are enough to prove the tab works. Later you can replace the echo line with a template that shows real data, such as a loyalty balance pulled from your rewards plugin or a list of support tickets. The WooCommerce developer documentation explains the endpoint system in full, including how to protect a tab so only certain customer roles can see it. Speaking of roles, our guide to WordPress user roles explained helps you plan who sees what.
How Do You Disable Endpoints Properly?
Removing a tab from the menu with unset does not disable its endpoint. A customer who guesses the URL, such as /my-account/downloads/, can still open the page directly. To disable an endpoint properly, remove it from the endpoint list in the WooCommerce settings as well. Go to WooCommerce, then Settings, then Advanced, and look at the Account endpoints section. Delete the slug from the field for the endpoint you want gone, then save.
Use both steps together: unset the menu item so the tab disappears, and clear the endpoint so the URL stops working. That combination is clean and complete. Never delete the Orders or Account Details endpoints unless you have a very good reason, because customers need them to track orders and keep their contact details current. If you only want to change the text on the page, a menu label change is enough, and you can leave the endpoint exactly as it is.
How Do You Style the My Account Page with CSS?
Code changes the structure, but CSS changes the look. The default My Account layout is a plain list of links on the left and content on the right, and most themes leave it that way. A few lines of CSS can turn it into a clean card style menu that matches your brand colours, with no plugin needed. Add the CSS in Appearance, then Customize, then Additional CSS, so it survives theme updates.
.woocommerce-MyAccount-navigation ul {
list-style: none;
margin: 0;
padding: 0;
}
.woocommerce-MyAccount-navigation-link a {
display: block;
padding: 12px 16px;
border: 1px solid #e5e5e5;
border-radius: 6px;
margin-bottom: 8px;
text-decoration: none;
}
.woocommerce-MyAccount-navigation-link.is-active a {
background: #f5f5f5;
font-weight: 700;
}
This snippet gives each tab a bordered card look and highlights the active tab with a light background and bold text. Change the border colour, background, and radius to match your store. Keep the padding generous on mobile, because customers tap these links with a thumb, and test the page on a phone before you call it done. If your login page also needs the same treatment, read our guide to customize the WordPress login page without a plugin for matching styles.
How Do You Redirect Customers After Login?
By default WooCommerce sends a customer to the My Account dashboard after login, which is sensible for most stores. Some stores prefer to send customers to the shop page, or back to the checkout if they logged in during a purchase. You can change the destination with the woocommerce_login_redirect filter, but test it carefully, because a wrong redirect can trap customers in a loop between the login page and the shop.
For most stores, the default redirect is fine, and the My Account page itself is the better place to spend your effort. A clear dashboard with the right tabs, honest labels, and a tidy layout does more for customer trust than a clever redirect. If you do change the redirect, test it with your test customer account in a private browser window, and check the logout flow too, as covered in our guide to redirect users after logout in WordPress.
How Do You Test the Customized Page?
Never test the My Account page while logged in as an administrator, because admins see extra links and different behaviour. Log out, then log in with your test customer account, and work through this checklist.
- Every tab opens its own content, and no tab leads to a 404 page.
- Removed tabs are gone from the menu, and their direct URLs no longer load.
- Your custom tab opens after you save the permalinks, with the content you expect.
- Orders, addresses, and account details all still work, including editing and saving.
- The layout looks clean on a phone, with tappable tabs and no overlapping text.
- The login and registration forms still work for logged out visitors.
Fix any failure before you move on. A 404 on a new tab almost always means the permalinks were not flushed, while a tab that shows nothing usually means the endpoint action name does not match the endpoint slug. The action name follows the pattern woocommerce_account_your_slug_endpoint, so a rewards endpoint needs woocommerce_account_rewards_endpoint exactly. Check the spelling letter by letter.
Frequently Asked Questions
Can I customize the WooCommerce My Account page without a plugin?
Yes. The woocommerce_account_menu_items filter renames, reorders, and removes tabs, add_rewrite_endpoint registers a new tab, and a few lines of CSS restyle the page. All of it works with standard WooCommerce code in a child theme or a code snippets plugin, with no extra plugin to buy or maintain.
Why does my new custom tab show a 404 error?
Because WordPress has not learned about the new endpoint yet. Go to Settings, then Permalinks, and click Save Changes to flush the rewrite rules. Then refresh the My Account page and open the tab again. If it still fails, check that the endpoint action name matches the slug exactly.
How do I remove the Downloads tab from My Account?
Remove it from the menu with unset( $items[‘downloads’] ) inside the woocommerce_account_menu_items filter, then clear the downloads slug in WooCommerce, Settings, Advanced, under Account endpoints. Doing both steps hides the tab and stops the direct URL from loading.
Can I change the My Account page layout with CSS only?
Yes, for visual changes. CSS can restyle the navigation, highlight the active tab, and match the page to your brand, all from Appearance, Customize, Additional CSS. CSS cannot add or remove tabs, so use the code snippets in this guide for structural changes, and the WordPress developer handbook for deeper theme customisation.
Last updated: December 2026.



