edit: it worked from the moment I selected “enrollment” in advance admin.
Hi,
I have the same issue. When trying to execute the function, it does work but the form keeps “hanging”, I never get the validation message, and the “loading” gif keeps turning on the side of the submit button.
My code:
add_action('wpcf7_before_send_mail', 'send_to_mindbody', 4, 1);
function send_to_mindbody() {
// error_log("test");
// wp_mail('[email protected]', 'contact form 7', 'Test');
die;
}
Any idea how to fix it?
-
This reply was modified 5 years, 7 months ago by tekover27.