ActionScheduler_DataController::set_sleep_time()public staticWC 1.0

Set the sleep time in seconds.

Метод класса: ActionScheduler_DataController{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = ActionScheduler_DataController::set_sleep_time( $sleep_time );
$sleep_time(int) (обязательный)
The number of seconds to pause before resuming operation.

Код ActionScheduler_DataController::set_sleep_time() WC 8.7.0

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