gglcptch_signup_display

The Google Captcha (reCAPTCHA) by BestWebSoft gglcptch signup display function.

Description

gglcptch_signup_display( $errors ); 

Parameters (1)

0. $errors
The errors.

Usage

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

Defined (1)

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

/google-captcha.php  
  1. function gglcptch_signup_display( $errors ) { 
  2. if ( $error_message = $errors->get_error_message( 'gglcptch_error' ) ) { 
  3. printf( '<p class="error gglcptch_error">%s</p>', $error_message ); 
  4. echo gglcptch_display();