I figured it out. I discovered this code in the template:
add_filter( 'wpcf7_spam', function($spam) {
// Require AJAX on contact forms
if ( $_SERVER['HTTP_X_REQUESTED_WITH'] != 'XMLHttpRequest' ) {
$spam = true;
}
return $spam;
});
But now it appears CF7 is using Fetch instead of XHR. Removing this code solved the problem. Thanks for developing a great plugin and I appreciate your help.
-
This reply was modified 3 years, 11 months ago by fkento.