I added the public key in the space that was delimited with "." but spelled out that that was where the key went. (if ($publickey == 'ENT'.'ER_YOU'.'R_PUB'.'LIC_K'.'EY_HE'.'RE') return '';)
On the next line that read: if (empty($publickey)) return ''; I added the private key between the last two '' marks because I couldn't find another place to put it and the directions mentioned the key should go on lines 9 and 10 and those two lines were the closest I could find.
No, you put it on the wrong place.
You're supposed to ONLY edit THIS file, to put your codes in it:
/includes/functions/extra_functions/recaptchalib.php
Code:
<?php
/*
* AUTHOR:
* David Allen 2015
* Contains added recaptcha_check() function for bypassing observer class if necessary
*/
// Get your v2 keys from https://www.google.com/recaptcha/admin
$publickey = 'ENTER_YOUR_PUBLIC_KEY_HERE';
$privatekey='ENTER_YOUR_SECRET_KEY_HERE';
......
Undo the other edits you made in the "ENT'.'ER_YOU'.'R_PUB'.'LIC_K'.'EY_HE'.'RE" part.
Bookmarks