Posted by Dave Averdick on March 23, 2021
We recently had a project where we wanted to use Contact Form 7 where the user’s message would send to different email addresses based on a drop-down selection menu. The solution involved using the “wpcf7_before_send_mail” filter and then accessing the data to run a conditional. After some trial and error, the final code is below, let us know your thoughts in the comment section below:
Need a hand with developing custom coding solution for WordPress? Look no further. UI Design, UX Strategy and Development know-how at your service!
Tell us about what you’re looking to do, or simply say hello. We’re excited to hear from you.