src/Charcoal/Admin/AdminAction.php
public function recaptchaSecretKey()
    {
        $recaptcha = $this->apiConfig('google.recaptcha');

        if (!empty($recaptcha['private_key'])) {
            return $recaptcha['private_key'];
        } elseif (!empty($recaptcha['secret'])) {
            return $recaptcha['secret'];
        }

        return null;
    }
public function recaptchaSecretKey()
    {
        $recaptcha = $this->apiConfig('google.recaptcha');

        if (!empty($recaptcha['private_key'])) {
            return $recaptcha['private_key'];
        } elseif (!empty($recaptcha['secret'])) {
            return $recaptcha['secret'];
        }

        return null;
    }
public function recaptchaSecretKey ( ) { $ recaptcha = $ this -> apiConfig ( 'google.recaptcha' ) ; if ( ! empty ( $ recaptcha [ 'private_key' ] ) ) { return $ recaptcha [ 'private_key' ] ; } elseif ( ! empty ( $ recaptcha [ 'secret' ] ) ) { return $ recaptcha [ 'secret' ] ; } return null ; }
Retrieve the Google reCAPTCHA secret key.

@throws RuntimeException If Google reCAPTCHA is required but not configured.
@return string|null
Retrieve the Google reCAPTCHA secret key .