How to update user_meta_data from frontend

I want my user to be able to choose if they are a company or individual
I’ve made a user_meta_field in database and it works fine, but how do i make some sort of option on my page-profile.php template, so they can choose? Like radio-buttons or dropdown or similar.

So when the user edits their profile, choose an option and save, then it updates that users meta_field?

Any help is highly appreciated as i’ve tried nearly everything now..

Thank you in advance!

Read more here:: How to update user_meta_data from frontend

Leave a Reply

Your email address will not be published. Required fields are marked *