Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'woocommerce_checkout_fields' , 'edscom_trigger_update_checkout_on_change' );
- function edscom_trigger_update_checkout_on_change( $fields ) {
- $fields['billing']['billing_state']['class'][] = 'update_totals_on_change';
- return $fields;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement