Beispiel #1
0
 public function setAlloAuthSettings()
 {
     global $cwp_top_settings;
     $this->consumer = $cwp_top_settings['oAuth_settings']['consumer_key'];
     $this->consumerSecret = $cwp_top_settings['oAuth_settings']['consumer_secret'];
     $this->oAuthCallback = CURRENTURL;
     $this->cwp_top_access_token = get_option('cwp_top_access_token');
     $this->cwp_top_oauth_token = get_option('cwp_top_oauth_token');
     $this->cwp_top_oauth_token_secret = get_option('cwp_top_oauth_token_secret');
     $this->user_info = get_option('cwp_top_oauth_user_details');
     $this->users = apply_filters("rop_users_filter", get_option('cwp_top_logged_in_users'));
     $this->pluginStatus = get_option('cwp_topnew_active_status');
     $this->intervalSet = get_option('top_opt_interval');
     self::$date_format = 'M j, Y @ G:i';
     //update_option('cwp_top_logged_in_users', '');
 }