Dynamic mail address
-
I’m playing with InTouch plugin (https://adahas.com/work/intouch/) and i would to hack this part:
if(@mail(get_option('intouch_email'), get_option('intouch_subject'), stripslashes($message), $headers))
I want replace the variable get_option(‘intouch_email’) with another value that is located into the single template (eg. the author e-mail stored in a custom field)… It is possible pass a variable from a template to function in the plugin and obtain something like this:
if(@mail($customfield_email'), get_option('intouch_subject'), stripslashes($message), $headers))
?Thanks
- The topic ‘Dynamic mail address’ is closed to new replies.