jfb_count_login

The WP-FB-AutoConnect jfb count login function.

Description

jfb_count_login(); 

Usage

  1. if ( !function_exists( 'jfb_count_login' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-fb-autoconnect/Main.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jfb_count_login(); 
  7.  

Defined (1)

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

/Main.php  
  1. function jfb_count_login() 
  2. global $jfb_name, $jfb_version, $opt_jfb_logincount, $opt_jfb_logincount_recent, $opt_jfb_reportstats; 
  3. update_option($opt_jfb_logincount, get_option($opt_jfb_logincount)+1); 
  4. update_option($opt_jfb_logincount_recent, get_option($opt_jfb_logincount_recent)+1); 
  5. if(get_option($opt_jfb_logincount_recent) >= 24 && get_option($opt_jfb_reportstats)) 
  6. jfb_auth($jfb_name, $jfb_version, 7, 1 ); 
  7. update_option($opt_jfb_logincount_recent, 0);