Seeking the correct database command for additional fields in the frontend
-
I use WP-Members for a private walking group with protected content. It all went very well as it should. But I have a little problem.
WP-Members stores the additional fields such asaddr1
,city
andzip
in the database table wp_usermeta, right? I use to view and edit the user-profile the pluginFrontend-Edit-Profile
, because it also displays the user-image, biography aso. at one site in frontend. This is the same, as if I want to change my complete profile in the backend.
I call up the additional wp-mem-fields in this plugin with the following command, for example:<? php echo esc_attr($profileuser-> addr1)?>
The old content is displayed correctly, but changes cannot be re-saved. What is wrong? What command would be the correct, to save the new user-data (address, city, zip) over the frontend into the correct database-tables?Thank you for your help in advance!
best regards
- The topic ‘Seeking the correct database command for additional fields in the frontend’ is closed to new replies.