I am looking for a solution on routing notifications
I have got a list of specific WP Users on page 1 and my visitor can choose one to mail him. These are about 70 users changing every week.
Now I want to open a form on page 2 (or in a lightbox) wich is to send to the choosen user.
I thought of prepopulating a hidden field with the id of the user
then sent the mail to the user mailadress or to a custom field containing another mailadress.
How to achive this step? Getting a custom field based on a field with a given user id ::
if field r = 1234 then get usermail (or ACF field value) of 1234 and send notification to it
Any better way? Any plugin?
I can´t use conditional routing as my recieverlist changes to often and is to long.