WordPress at Your Fingertips
function is not described

ActionScheduler_DataController::set_sleep_time() public WC 1.0

Set the sleep time in seconds.

{} It's a method of the class: ActionScheduler_DataController{}

No Hooks.

Return

null. Nothing.

Usage

$result = ActionScheduler_DataController::set_sleep_time( $sleep_time );
$sleep_time(int) (required)
The number of seconds to pause before resuming operation.

Code of ActionScheduler_DataController::set_sleep_time() WC 6.1.1

public static function set_sleep_time( $sleep_time ) {
	self::$sleep_time = (int) $sleep_time;
}