Add a custom field to checkout and to my_account user details on registration
I have a woocommerce site I am building and I want to add the user's birthdate to the usermeta in the database as well as display it in the wp-admin under their profile. I have limited experience with messing with PHP. I have pulled from the Woocommerce docs here to display it on checkout, which it is doing correctly. The Woocommerce docs show you how to add it to the order info but not to the user account itself. It is correctly being added to the order but not the account. Here is what I have so far: /** * Add the field to the checkout */ add_action( 'woocommerce_after_order_notes', 'my