gglplsn_validate_email

The Google +1 by BestWebSoft gglplsn validate email function.

Description

gglplsn_validate_email(); 

Usage

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

Defined (1)

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

/google-plus-one.php  
  1. function gglplsn_validate_email() { 
  2. check_ajax_referer( 'gglplsn_ajax_nonce', 'gglplsn_nonce' ); 
  3. if ( isset( $_POST['gglplsn_email_for_validate'] ) ) { 
  4. echo json_encode( array( 'gglplsn_email_validate' => is_email( $_POST['gglplsn_email_for_validate'] ) ) ); 
  5. wp_die();