Want "From" Email to be set to the logged in user's email
I would like to code the contact form so that it will use the email address of the current logged in user - and NOT what they randomly type in. Trying to prevent scammers from using an email that is not their account email.
I found this post from 2012, but that code no longer works in the current version....
http://forums.appthemes.com/classipr...contact-29752/
Any help would be much appreciated. Just need to know how to get the current user's email address to use in the form.