CATT Training

Showing all 4 results

Trauma Psychology Training
Scroll to Top
add_filter( 'woocommerce_checkout_get_value', function( $input, $key ) { global $current_user; um_fetch_user( $current_user->ID ); switch ( $key ) : case 'billing_first_name': case 'shipping_first_name': return um_user( 'first_name' ); break; case 'billing_last_name': case 'shipping_last_name': return um_user( 'last_name' ); break; case 'billing_email': return um_user( 'user_email' ); break; case 'billing_phone': return um_user( 'phone_number' ); break; case 'billing_country': return um_user( 'country' ); break; case 'billing_city': return um_user( 'city'); endswitch; return $input; }, 10, 2);