gglcptch_admin_footer

The Google Captcha (reCAPTCHA) by BestWebSoft gglcptch admin footer function.

Description

gglcptch_admin_footer(); 

Usage

  1. if ( !function_exists( 'gglcptch_admin_footer' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-captcha-recaptcha-by-bestwebsoft/google-captcha.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gglcptch_admin_footer(); 
  7.  

Defined (1)

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

/google-captcha.php  
  1. function gglcptch_admin_footer() { 
  2. if ( isset( $_REQUEST['page'] ) && 'google-captcha.php' == $_REQUEST['page'] ) { 
  3. /** for gglcptch test key */ 
  4. global $gglcptch_options; 
  5. if ( isset( $gglcptch_options['recaptcha_version'] ) && 'v2' == $gglcptch_options['recaptcha_version'] ) { 
  6. $api_url = "https://www.google.com/recaptcha/api.js"; 
  7. } else { 
  8. $api_url = "https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"; 
  9. wp_register_script( 'gglcptch_api', $api_url, false, false, true );