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

    (@cbutlerjr)

    In order to do that, you can use the wpmem_register_form_rows filter. This filter can filter all of the form elements for the registration and user profile update fields.

    This filter receives the array of the field elements and a toggle that tells you if it is a new registration or a user update. So you could use an “if” comparison with the toggle to only enact your filter if it is a user profile update.

    Then, you could filter the “field” key for the field which is the HTML tag. You could change this from being an input HTML tag to something static. If you need the “value” of the field, it is in the array key “value”.

    https://rkt.bz/vr

Viewing 1 replies (of 1 total)
  • The topic ‘Read Only Profile Fields’ is closed to new replies.