gglcptch_recaptcha_get_signup_url

Gets a URL where the user can sign up for reCAPTCHA.

Description

gglcptch_recaptcha_get_signup_url( (constant) $domain = null, (constant) $appname = null ); 

If your application has a configuration page where you enter a key, you should provide a link using this function.

Parameters (2)

0. $domain — Optional. (constant) => null
The domain where the page is hosted
1. $appname — Optional. (constant) => null
The name of your application

Usage

  1. if ( !function_exists( 'gglcptch_recaptcha_get_signup_url' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-captcha-recaptcha-by-bestwebsoft/lib/recaptchalib.php'; 
  3.  
  4. // The domain where the page is hosted 
  5. $domain = null; 
  6.  
  7. // The name of your application 
  8. $appname = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = gglcptch_recaptcha_get_signup_url($domain, $appname); 
  12.  

Defined (1)

The function is defined in the following location(s).

/lib/recaptchalib.php  
  1. function gglcptch_recaptcha_get_signup_url ($domain = null, $appname = null) { 
  2. return "https://www.google.com/recaptcha/admin/create?" . gglcptch_recaptcha_qsencode (array ('domains' => $domain, 'app' => $appname));