• Is there a way I could retrieve recaptcha keys from Integration settings page?

    I have several plugins now that have their own recaptcha keys settings saved in database.

    I’m creating custom code and would like to reuse recaptcha keys from cf7 integration settings instead of setting another keys again.

    Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter imcobarn

    (@imcobarn)

    I was able to get the Sitekey with code below but can’t seem to get the Secret

    How could I get the secret?

    here is code to get sitekey:

    $sitekeys = WPCF7::get_option( 'recaptcha');
    $sitekeys = array_keys( $sitekeys );
    $key = $sitekeys[0];
Viewing 1 replies (of 1 total)
  • The topic ‘reuse recaptcha keys from cf7 integration settings’ is closed to new replies.