• Hello,

    I have a hook that executes a save to the database when the Registration form is submitted.

    add_action('um_after_new_user_register','my_function',10,1)

    My question is for profiles. When I edit a profile and click the CHECKMARK or the SUBMIT BUTTON, what is the equivalent of the above action hook for profiles?

    I’ve tried: add_action(‘um_after_form_fields’,’my_function’) but that does not seem to update my user_meta in the database

    Thank you

    https://wordpress.org/plugins/ultimate-member/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi,

    You can use the following action hook:

    add_action(“um_user_after_updating_profile”,”my_function”,10,1);

    it returns an array of form field values.

    Regards,

    Thread Starter dberg89

    (@dberg89)

    Im basically trying to save a hidden field to the database once the user edits and submits the profile form…for some reason the meta_value will not update.

    Ill try your method. Thank you

    Plugin Author Ultimate Member

    (@ultimatemember)

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PROFILE hook for saving an edit’ is closed to new replies.