Remove custom field added to checkout
-
I used
/** * Simple checkout field addition example. * * @param array $fields List of existing billing fields. * @return array List of modified billing fields. */ function jeroensormani_add_checkout_fields( $fields ) { $fields['billing_FIELD_ID'] = array( 'label' => __( 'FIELD LABEL' ), 'type' => 'text', 'class' => array( 'form-row-wide' ), 'priority' => 35, 'required' => true, ); return $fields; } add_filter( 'woocommerce_billing_fields', 'jeroensormani_add_checkout_fields' );
to add a test field. Now I want to remove it. How do I do this without actually going into the database?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Remove custom field added to checkout’ is closed to new replies.