• Is it possible to hide specific input fields on the profile form only? I have some inputs I want on the registration form but do not want users to be able to change on the profile form.

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

    (@cbutlerjr)

    You can, but it has to be done via a couple of filters to remove the field and change it so that the form validation isn’t looking for it.

    However, in one of the upcoming releases, you’ll just be able to set this in the plugin’s fields settings, identifying fields for use on the registration form and profile update separately.

    Thread Starter smakarate

    (@smakarate)

    Are you able to provide any example filters to control this and then i can nut it from there.

    Plugin Author Chad Butler

    (@cbutlerjr)

    You would use the wpmem_fields filter for this, which is documented here:

    https://rocketgeek.com/plugins/wp-members/docs/filter-hooks/wpmem_fields/

    There are some examples in the documentation, the third (last) one is kind of what you are looking for (removing a field from the profile).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Profile page fields’ is closed to new replies.