Beispiel #1
0
 /**
  * Write session data and end session
  */
 public static function write_close()
 {
     $gPluginSession = gPluginSession::get_instance();
     $gPluginSession->write_data();
     do_action('wp_session_commit');
     // back comp
 }
Beispiel #2
0
 public function init()
 {
     $this->session = gPluginSession::get_instance();
     return $this->session;
 }