ActionScheduler_DataController::set_sleep_time()
Set the sleep time in seconds.
Method of the class: ActionScheduler_DataController{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = ActionScheduler_DataController::set_sleep_time( $sleep_time );
- $sleep_time(int) (required)
- The number of seconds to pause before resuming operation.
ActionScheduler_DataController::set_sleep_time() ActionScheduler DataController::set sleep time code WC 9.3.1
public static function set_sleep_time( $sleep_time ) { self::$sleep_time = (int) $sleep_time; }