- This topic has 1 reply, 2 voices, and was last updated 10 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › Contact form 7 – Send contact form to the affiliates email address
Tagged: Contact Form 7
We would like to send the contact form submitted to the affiliate who referred them… As an additional to: or cc.
We have the integration enabled so we know which affiliate sent the traffic, but we also want the email sent to go to the affiliate. How do we get ahold of the email address to tell the form to send it to them to?
Thanks.
If you know the affiliate ID then you can use the following function to get his email address. Here is an example:
$aff_id = "abc123";
$affiliate_email = wp_aff_get_affiliate_details($aff_id,"email");