Skip to content

Instantly share code, notes, and snippets.

View Katamo's full-sized avatar

Óscar de la Mata Katamo

View GitHub Profile
@Katamo
Katamo / gist:10243188
Last active January 24, 2021 13:44 — forked from corsonr/gist:7215762
<?php
add_filter( 'woocommerce_checkout_fields' , 'woo_remove_billing_checkout_fields' );
/**
* Remove unwanted checkout fields
*
* @return $fields array
*/
function woo_remove_billing_checkout_fields( $fields ) {