Thread Starter
Aamnam
(@aamnam)
I have seen this code in another thread but dont know how to use it.
Use Posted Form Data in Server Side Instead of Mailing
If you want something else than the default posting (sending in email), then you can use the code below.
add_action(“wpcf7_before_send_mail”, “wpcf7_do_something_else”);
function wpcf7_do_something_else(&$wpcf7_data) {
// Here is the variable where the data are stored!
var_dump($wpcf7_data);
// If you want to skip mailing the data, you can do it…
$wpcf7_data->skip_mail = true;
}
Thread Starter
Aamnam
(@aamnam)
So there is no way or code I can add to additional settings of the contact form 7 ?