Add a button to send an email
-
Hi,
I’m trying to add a simple button to one of my pages which upon being clicked would send an email to an address which is set in a custom field, the content would come from the user’s profile if they are logged in.
If the user is not logged in then the button will not show, that’s a simple if statement so no need to worry there.
I can’t work out how to do this using wp_mail. Please can you help?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add a button to send an email’ is closed to new replies.