Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('woocommerce_checkout_init','disable_billing_shipping');
- function disable_billing_shipping($checkout){
- $checkout->checkout_fields['billing']=array();
- $checkout->checkout_fields['shipping']=array();
- return $checkout;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement