Action after confirmation of email address change
-
Hello,
We’ve set up a front-end form that allows a user with a specific role – an additional “member” role added to the existing WordPress roles – to modify the email address of their account.
For this form, we’ve activated the “send_confirmation_on_profile_email” function, which sends a confirmation request email when a change of user email address is attempted: it works.
For our purposes, we want to launch an action after effctive confirmation of the e-mail address, which consists in transferring the new e-mail address once confirmed (via a secure api) to an external information system. To carry out this action, we’ve found the “user_request_action_confirmed” hook, but we can’t find any resources on the famous “$request_id” that will enable us to fire the action.
Have any of you already used this hook, and if so, how do you retrieve/identify this request identifier?
Thanks a million in advance for your help!
- The topic ‘Action after confirmation of email address change’ is closed to new replies.