public/wordpress/wp-content/plugins/wp-courseware/includes/core/session.php
/**
	 * Cleanup Sessions.
	 *
	 * Cleanup session data from the database and clear caches.
	 *
	 * @since 4.3.0
	 */
Cleanup Sessions.
Cleanup session data from the database and clear caches.


Cleanup Sessions . Cleanup session data from the database and clear caches .
public function cleanup_sessions() {
		global $wpdb;
		$wpdb->query( $wpdb->prepare( "DELETE FROM $this->_table WHERE session_expiry < %d", time() ) );
		wpcw()->cache->incr_cache_prefix( WPCW_SESSION_CACHE_GROUP );
	}
public function cleanup_sessions ( ) { global $ wpdb ; $ wpdb -> query ( $ wpdb -> prepare ( " DELETE FROM  $ this -> _table  WHERE session_expiry < %d " , time ( ) ) ) ; wpcw ( ) -> cache -> incr_cache_prefix ( WPCW_SESSION_CACHE_GROUP ) ; }
Cleanup Sessions.
Cleanup Sessions .