In WooCommerce with code below I create new WP_User with a random password and set user role to “customer” (I want to create account on purchase automatically). Then I use WC_Emails to send login details to buyer. In that case I need plain password, but I really don’t know why all other data are attached (username, name,…), but the password
Tag: user-data
Saving the value of a custom field phone number in WooCommerce My account > Account details
Trying to add a field for Woocommerce billing_phone to the my-account/edit-account/. It is present within the update address pages but when adding to the form-edit-account.php it does not update. Currently adding by following the same code as the other fields, such as first_name: Image of form with billing_phone being shown as a value: But upon updating with new number it