How to add fields in custom registration form, validate it and aave to db?
I use a WP theme with a custom registration form. I want to add two fields to it (for phone number and company name). What to add to the php file of the form and what to the function file of theme to validate the fields and save the values in the database?
Thanks in advance