LLMS_Abstract_Session_Database_Handler::clean( boolean $expired_only = true )
Delete all sessions from the database
Description Description
This method is the callback function for the llms_delete_expired_session_data cron event, which deletes expired sessions hourly.
This method is also used by the admin tool to remove all sessions on demand.
Parameters Parameters
- $expired_only
-
(Optional) If
true, only delete expired sessions, otherwise deletes all events.Default value: true
Return Return
(int)
Source Source
File: includes/abstracts/llms-abstract-session-database-handler.php
Changelog Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |