public_html/wp-content/plugins/wp-statistics/includes/classes/statistics.class.php
// This function loads the user options from WordPress.  It is NOT called during the class constructor.
This function loads the user options from WordPress.  It is NOT called during the class constructor.
This function loads the user options from WordPress . It is NOT called during the class constructor .
public function load_user_options( $force = false ) {
		if( $this->user_options_loaded == true && $force != true ) { return; }
		$this->set_user_id();
		$this->user_options = get_user_meta( $this->user_id, 'wp_statistics', true );
		if( ! is_array( $this->user_options ) ) {
			$this->user_options = array();
		}
		$this->user_options_loaded = true;
	}
public function load_user_options ( $ force = false ) { if ( $ this -> user_options_loaded == true && $ force != true ) { return ; } $ this -> set_user_id ( ) ; $ this -> user_options = get_user_meta ( $ this -> user_id , 'wp_statistics' , true ) ; if ( ! is_array ( $ this -> user_options ) ) { $ this -> user_options = array ( ) ; } $ this -> user_options_loaded = true ; }
This function loads the user options from WordPress.
This function loads the user options from WordPress .
// Not sure why, but get_user_meta() is returning an array or array's unless $single is set to true.