Trying to capture billing address
-
I’m trying to capture the billing address as it gets saved, when the user creates his account, and when editing their address.
add_action( 'woocommerce_created_customer', 'set_custom_wc_user_membership_columns',1 ); // register/checkout add_action( 'woocommerce_save_account_details', 'set_custom_wc_user_membership_columns',1 ); // edit WC account function set_custom_wc_user_membership_columns( $user_id ) { file_put_contents( ABSPATH.'/newtestdump.txt', 'Got Here'. print_r($_POST, true), FILE_APPEND ); }
The hooks don’t fire.
Any help would be appreciated.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Trying to capture billing address’ is closed to new replies.