Guest  

Welcome Guest, posting in this forum requires registration.

Pages: [1]
Topic: How to Remove customer billing and shipping address from edit profile in the backed
Guest
Member
Posts: 61

Reputation: 105
How to Remove customer billing and shipping address from edit profile in the backed
on: July 27, 2016, 17:32

How to remove customer Billing address and shipping address from the admin Panel. I have created a role "vendor" and I don't want to give the edit billing/shipping address functionality in the admin panel. How I can do this?

John kerry
Member
Posts: 28
John kerry
Reputation: 42
Re: How to Remove customer billing and shipping address from edit profile in the backed
on: July 27, 2016, 18:03

/*
* removes meta fields in woocommerce like customer billing address, shipping address
*/
add_filter( 'woocommerce_customer_meta_fields', '__return_empty_array' );

Pages: [1]
WP Forum Server by ForumPress | Lucid Crew
Version: 1.8.2 ; Page loaded in: 0.013 seconds.

Share This: