how can I set a different email address for contact sidebar
I have created a field for my advertiser to insert the email address they want all contact questions through the website to go to. I tried swapping it into:
// if it's a match then send the email
if ($rand_total == $rand_post_total) {
cp_contact_ad_owner_email($post->ID);
in sidebar-contact.php - changing the cp_contact_ad_owner_email to the meta tag for my new field. This didn't work.
Can you tell me how I can alter it so that the contact emails go to an email address in a specified field, rather than the registered User email?
Thanks