public function delete($key, $next)
    {
        $session_key = $this->sanitize($key);

        wp_cache_delete("session_${session_key}", 'sessions');

        return $next($key);
    }
public function delete($key, $next)
    {
        $session_key = $this->sanitize($key);

        wp_cache_delete("session_${session_key}", 'sessions');

        return $next($key);
    }
public function delete ( $ key , $ next ) { $ session_key = $ this -> sanitize ( $ key ) ; wp_cache_delete ( "session_${session_key}" , 'sessions' ) ; return $ next ( $ key ) ; }
Purge an item from the cache immediately.

@param string   $key  Session identifier.
@param callable $next Next delete operation in the stack.

@return mixed
Purge an item from the cache immediately .