• Home
  • Python
  • PHP
  • About
  • Github
  • Stackoverflow
  • Twitter
Insipration

Block Heap

Web Developer's Blog

Wordpress

Set Email Recipients by Form Input With Contact Form 7 (CF7)
March 25, 2020

Example: The snippet below will be added to the functions.php file in the main directory of your WordPress theme. Our code starts by ensuring that we’re using the right form since most sites have more than one. I like to use $wpcf7->id but you could easily use something like $wpcf7->title. function contact_form_to($wpcf7) { // open … Continued

Learn More
Tags:
CF7PHPWordpress
© 2021 Blockheap | Legal Disclaimers