• Resolved novahero

    (@novahero)


    I want to allow logged in users to update only one of the data in their profile to display on the page.
    I’d like to be able to update field that are not displayed in [wpmem_form register][wpmem_profile][wpmem_form user_edit].
    Specifically, the user completes the new registration by input all the fields.
    And he will only upload a picture of the driver’s license that was not in the new registration section later.
    In the user’s profile edit screen, the driver’s license image field is hidden, but the uploaded image is visible only to the administrator.
    There’s a place to drop down.
    Isn’t it possible to specify only one item to be updated like this?
    Isn’t it possible to specify data that is hidden from the user and update it from the user?
    I think it’s hard to understand what I’m talking about.

    Translated with http://www.DeepL.com/Translator (free version)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    You can use the wpmem_fields filter to remove the field(s) you don’t want displayed on the profile.

    Thread Starter novahero

    (@novahero)

    Thank you your answer.
    Can this API allow the user to edit the data I specified?
    For example, how do I show the user only the phone number and allow them to change it?

    Plugin Author Chad Butler

    (@cbutlerjr)

    The documentation for the filter has an example of removing fields for the profile update display. If you remove all of the fields except the phone, you can limit the user to just updating their phone.

    Thread Starter novahero

    (@novahero)

    Thank you.I will try!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can a user directly rewrite user data? Without profile editi’ is closed to new replies.