On the WooCommerce My Account page I am trying to hide a couple of the sections based on the user role.
At the moment, all people who register directly with the WooCommerce registration form are assigned user role 'Customer'. However, only users with role 'Employer' are actually able to make purchases... so effectively I want to hide the My Addresses section to users who are 'Customers'.
Any ideas if I can do this with a function? Miro