How to disable AJAX in Contact Form 7 and at the same time keep other JS options like validation etc


I would like to use wpcf7_before_send_mail filter and change action in form.
To be able to do this, I need to disable the AJAX which is used when submitting the form

define('WPCF7_LOAD_JS', false) is not a solution because WPCF7 AJAX is packaged into an entire JS flag – so this will also turn off JS validation

kanlukasz 1 year 2020-07-20T06:10:49-05:00 0 Answers 48 views 0

Leave an answer