LLMS_Sessions::add_cron_schedule( array $schedules )
Add cron schedule for session end interval checks.
Parameters Parameters
- $schedules
-
(array) (Required) Array of cron schedules.
Return Return
(array)
Source Source
File: includes/class-llms-sessions.php
public function add_cron_schedule( $schedules ) { // Adds every 5 minutes to the existing schedules. $schedules['every_five_mins'] = array( 'interval' => MINUTE_IN_SECONDS * 5, 'display' => sprintf( __( 'Every %d Minutes', 'lifterlms' ), 5 ), ); return $schedules; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.36.0 | Introduced. |