Custom Contact Forms
Want to add logged in user email address (2 posts)

  1. zimode
    Posted 4 years ago #

    I tried to add the following code:

    <?php global $display_name , $user_email;

    to the custom-contact-forms-front.php at the appropriate line
    $mail->Subject = $admin_options['default_form_subject'] . " From" . $user_email;

    I'm trying to automatically add the users email address to the subject.. I get the "From" in the subject but not the users email address..

    Any ideas or help would be great.. as I like this plugin


  2. zimode
    Posted 4 years ago #

    Has anyone added user fields to the contact-forms? Any help would be greatly appreciated..

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Contact Forms
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic