How to Remove WooCommerce “My Account” Tabs

WooCommerce comes with an entire account management system out of the box. This is built on the back of the user and account functions that come with WordPress so anyone familiar with that should be right at home here.

Your store’s theme, or design, will include a separate layout for your customers to manage and access parts of their accounts after they have made a purchase. This layout comes in the form of a tabbed interface with different sections containing your customer’s information:

  • Orders
  • Downloads
  • Addresses
  • Account Details

It will look a little something like this:

An example of the My Account page on a standard WooCommerce store.

Of course, it’s highly likely that you don’t want or need your customers to be able to access all of that information. Some of those tabs, like Downloads for an obvious example, might not even apply to your store at all.

WooCommerce doesn’t have a built-in way to remove those tabs from the account page. In order to get these tabs removed, you’ll need to make some code changes to your store’s theme. In this article, we will walk you through the steps you need to take to handle this yourself.

How to Hide WooCommerce My Account Tabs with Code

You can hide individual Account Tabs if you are willing to get your hands dirty. The code for this is more complex than most WooCommerce changes required. So keep in mind that doing this on your own does come with a certain amount of risk to your site if things go wrong.

Warning! Please make a complete and total backup of your WordPress installation before proceeding with this tutorial. You should be in the habit of doing so already but a backup can save you in case of disaster. If you make a coding error, or have difficulties with any part of this process, a backup restore can save you time and money.

Create a Child Theme

Making changes to a WordPress theme directly is a very bad idea. Any edits or additions you make to a theme’s code will be automatically lost the next time it receives an update. Luckily, the developers of WordPress have a solution in place for this.

It is recommended that you make a child theme if you want to adjust your site’s appearance or behavior. A child theme loads another theme’s code first before loading and executing its own. This means any code you add, or edit, in a child theme will not be lost when its parent theme receives an update.

You can learn more about WordPress child themes and their creation online through one of the many tutorials available. When your child theme is built it’s time to head on to the next step.

Add Code to the Child Theme

Every WordPress theme will execute code you place in a file called functions.php. If your child theme does not have that file yet you can create it now and copy and paste the following code inside:

add_filter('woocommerce_account_menu_items', 'remove_my_account_tabs', 999);

public function remove_my_account_tabs($items) {
    $options = get_option($this->plugin_name);

    if (isset($options['my-account-tabs-orders']) && $options['my-account-tabs-orders'] == 1) {

    if (isset($options['my-account-tabs-downloads']) && $options['my-account-tabs-downloads'] == 1) {
    if (isset($options['my-account-tabs-addresses']) && $options['my-account-tabs-addresses'] == 1) {
    if (isset($options['my-account-tabs-account-details']) && $options['my-account-tabs-account-details'] == 1) {

    return $items;

There’s a lot to take in there and you might not need all of that code. Certain lines only pertain to certain tabs:

  • Orders Tab: Lines 6 – 8
  • Downloads Tab: Lines 10 – 12
  • Addresses Tab: Lines 14 – 16
  • Account Details Tab: Lines 18 – 20

Keep whatever lines correspond to what tabs you want to remove from your site. You can safely delete the rest.

Once the code is in place you can save the file. Now it’s time to get your child theme on and working on your actual WooCommerce store.

Upload the Child Theme

The first thing you need to do before getting your child theme on your site is to compress it into a .zip file. Once that’s done you can upload it to the site via the WordPress admin. Navigate your way to the Themes section of the Appearance menu. You’ll see a button with “Add New” text. Click that and follow the instructions to upload your theme’s file.

Alternatively, you can upload your child theme straight to the site using FTP. This is a more complex method of upload but some people prefer it. Your web hosting provider likely provides documentation for how to connect to your server via FTP. Consult their support knowledge base if you want to give this method a try.

Have we lost you with too much technical talk? You don’t have to go through all of this child theme making, code writing, or file uploading to get the job done. Learn how our Remove WooCommerce Features plugin can save you time and headaches.

Activate the Child Theme

If you head back to the Themes area of the WordPress admin your child theme should appear on the list. You’ll have to try the upload again if that’s not the case. When it is there press the “Activate” button and the theme will load automatically.

Assuming everything went smoothly the code you added to the child theme should execute the next time you load up your site. If the changes have had no impact or, even worse, the site is down or showing errors you need to start again. Look at your code, make changes, and upload the theme one more time to see if you have any more success.

Eventually, you’ll get it working.

Of course, there is an easier way to remove those My Account tabs on your WooCommerce site. Read on to find out how our own Remove WooCommerce Features can handle this for you in seconds.

How to Disable WooCommerce My Account Tabs in Seconds

Our plugin, Remove WooCommerce Features, comes with a simple three-click way to remove these account tabs from your site template. Once you have purchased and installed the plugin the process is simple.

Step #1

Go to the WooCommerce section of your WordPress installation’s admin menu and click the link that says Remove Features.

WooCommerce Admin Menu

Step #2

Find the setting for My Account Tabs and click the checkbox so that it’s marked like so:

Remove WooCommerce Features - My Account Tabs

Step #3

Press the button.

Remove WooCommerce Features will remove the selected tabs from your account screens as soon as you have pressed the “Save Settings” button. You can update your theme or change it entirely and the tabs will still not show up. As long as you have our plugin installed and activated your setting for removing the tabs will stay.

Our plugin deals handles dozens of other commonly irritating WooCommerce features that people often want removed from their stores:

Remove WooCommerce Features Logo