ActionScheduler_DataController::set_sleep_time() – Set the sleep time in seconds.

You appear to be a bot. Output may be restricted

Description

Set the sleep time in seconds.

Usage

ActionScheduler_DataController::set_sleep_time( $sleep_time );

Parameters

$sleep_time
( integer ) required – The number of seconds to pause before resuming operation.

Returns

void

Source

File name: woocommerce/packages/action-scheduler/classes/ActionScheduler_DataController.php


Lines:

1 to 4 of 4
  public static function set_sleep_time( $sleep_time ) {
    self::$sleep_time = (int) $sleep_time;
  }
 

 View on GitHub View on Trac