CF7 Quiz Integration
Marc Wagner
March 11, 2025
The Forge12 Double-Opt-In Plugin(Avada | Elementor | CF7) Plugin makes it possible to integrate external captcha tools using the built-in hooks.
WordPress Captcha Plugin from Forge12
We offer a captcha plugin that effectively protects against bots and spam. This is available free of charge in the WordPress plugin store and is compatible with the double opt-in plugin.
Integration of CF7 Quiz #
To use the double opt-in plugin with the Contact Form 7 quiz, you must integrate the following code. We recommend the WP Code plugin for this. Alternatively, you can also easily insert the code in your functions.php
.
/** * Entferne die CF7 Quiz Validierung */ add_action('f12_cf7_doubleoptin_before_send_default_mail', 'disable_cf7_quiz_validation'); function disable_cf7_quiz_validation(){ remove_filter( 'wpcf7_validate_quiz', 'wpcf7_quiz_validation_filter', 10, 2 ); }
The code temporarily removes the validation for the Contact Form 7 quiz when the opt-in is confirmed, allowing the opt-in mail to be sent.

Article from:
Marc Wagner
Hi Marc here. I’m the founder of Forge12 Interactive and have been passionate about building websites, online stores, applications and SaaS solutions for businesses for over 20 years. Before founding the company, I already worked in publicly listed companies and acquired all kinds of knowledge. Now I want to pass this knowledge on to my customers.