-
Hello,
I meet several issues with custom user meta fields.
1- When I create custom user meta with UserPro, the user meta are not saved in the database. As a result, the form is displayed very well but no data are stored / displayed.
2- I then have downloaded a plugin to manage user meta. The user meta are displayed in the profile form if synchronized with the meta key value (text area). But I doesn’t work with dropdown menus for example, options don’t show up, and if there is an existing value, when updating, the data are cleared.
I’ve looked in phpMyAdmin and none of the user meta created with userPro are in the DB – only those created with other plugin are stored.Could you help me?
I can provide url and login info.Thank you
The user meta (once filled) are saved in wp user meta and you can retrieve them with get_user_meta($user_id, $key_you_ceated, true)
Hello
can you please help me?
I’ve provided site access in my private message
thank youTry to add a new field via userpro admin, say: country, and now try to fill it. You’ll see that it can be grabbed already with get_user_meta($user_id, ‘country’, true); which means that it works. This is how the country field work here on this demo as a very basic example.
You must be logged in to reply to this topic.