This short guide will help you to find out how to hide the Customer Account Navigation Links.
To remove the sidebar link you can see on the customer account page do the following:
1. Go to your Magento installation folder.
2. Then open vendor\magento\module-customer\view\frontend\layout\ folder.
3. Copy the customer_account.xml file to the app\design\frontend\Zemez\themeXXX\Magento_Customer\layout\ folder.
[notice type=”warning”]Note, the vendor name (Zemez) may be TemplateMonster or Jetimpex.
4. Open the copied file to edit (app\design\frontend\Zemez\themeXXX\Magento_Customer\layout\customer_account.xml )
5. You should add the next code before the </body> tag. We will remove the My Wish List link, as an example.
You should get something like this:
6. Save the changes you’ve made to the file.
7. Clear the Magento cache.
The “My Wishlist” link will disappear from the Customer Account page.
You can remove any Customer Account Navigation Link. So, if you want to hide the “Newsletter Subscription” link, use the <referenceBlock name=“customer-account-navigation-newsletter-subscriptions-link“ remove=“true“/> code.