Answer the question
In order to leave comments, you need to log in
How to get Secret Key from Contact Form 7 configuration?
I'm migrating the site and need to copy the keys for Google's recaptcha. In the configuration, the Site Key is displayed normally, but instead of the Secret Key, an asterisk.
UPD: I pressed the Reset Keys button, and there in the autocomplete the keys that I entered. So specifically in this case the problem is solved, but for the future you need to dig.
Answer the question
In order to leave comments, you need to log in
In general, everything turned out to be quite simple.
In the file "wp-content\plugins\contact-form-7\modules\recaptcha.php" we find the line "wpcf7_mask_password( $secret )" and remove this same "wpcf7_mask_password" - that's it! Now the required key is displayed in the admin panel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question