public_html/wp-content/plugins/wp-statistics/includes/classes/statistics.class.php
// The function mimics WordPress's update_user_meta() function but uses the array instead of individual options.
The function mimics WordPress's update_user_meta() function but uses the array instead of individual options.
The function mimics WordPress ' s update_user_meta () function but uses the array instead of individual options .
public function update_user_option( $option, $value ) {
		if( $this->user_id == 0 ) { return FALSE; }
		$this->user_options[$option] = $value;
		update_user_meta( $this->user_id, 'wp_statistics', $this->user_options );
	}
public function update_user_option ( $ option , $ value ) { if ( $ this -> user_id == 0 ) { return FALSE ; } $ this -> user_options [ $ option ] = $ value ; update_user_meta ( $ this -> user_id , 'wp_statistics' , $ this -> user_options ) ; }
The function mimics WordPress's update_user_meta() function but uses the array instead of individual options.
The function mimics WordPress ' s update_user_meta () function but uses the array instead of individual options .
// If the user id has not been set return FALSE. // Store the value in the array. // Write the array to the database.