How can I use the shortcode to update a user's field in a custom page?

Support MB Frontend Submission How can I use the shortcode to update a user's field in a custom page?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41177

    Hello everyone.
    I use the Frontent Submission in order to use the shortcode in a custom "profile edit page" where I need to fill an image field .

    The image field is the following
    https://app.screencast.com/016a2IKW8wGib
    I would like to know if there is any way of sending the user id via the shortcode because when I click the submit button it creates a new post rather than save the user meta.

    Is there any way to make the shortcode understand that I need to edit a specific user id?

    Is there any hook I can use after hitting the submit button?

    Thanks a lot!
    All the best!
    Archimidis

    #41185
    PeterPeter
    Moderator

    Hello,

    Can you please let me know the purpose of this question? To set the image for a user as a user meta, is that right? If yes, you can try to use the MB User Profile shortcode [mb_user_profile_info]. Please read more in the documentation https://docs.metabox.io/extensions/mb-user-profile/#edit-profile-form

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.