Created
May 3, 2021 08:12
-
-
Save andrii-kvlnko/8d420fb299a31e48e9afec40676dfdf8 to your computer and use it in GitHub Desktop.
WordPress - Contact Form 7 | Submit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wpcf7_verify_nonce', '__return_false', 9999 ); | |
add_filter( 'wpcf7_spam', '__return_false', 9999 ); | |
$form = \WPCF7_ContactForm::get_instance( $contact_form_id ); | |
\WPCF7_Submission::get_instance( $form ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment