- This topic has 3 replies, 2 voices, and was last updated 1 year, 7 months ago by .
I’m trying to display a frontend form for user profile info editing (not for current user), as per documentation (https://docs.metabox.io/extensions/mb-user-profile/). However, even after setting user_id, this attribute does nothing, it always displays form only with current users’ data.
$form = '[mb_user_profile_info id="user-data" user_id="' . $user_id . '" submit_button="Submit" confirmation="Your information has been successfully submitted. Thank you."]'; echo do_shortcode( $form );
where $user_id has value.
Why is this not working?
- You must be logged in to reply to this topic.