ActionScheduler_NullSchedule::__construct()publicWC 1.0

Make the $date param optional and default to null.

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

Хуков нет.

Возвращает

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

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

$ActionScheduler_NullSchedule = new ActionScheduler_NullSchedule();
$ActionScheduler_NullSchedule->__construct( $date );
$date(null)
The date & time to run the action.
По умолчанию: null

Код ActionScheduler_NullSchedule::__construct() WC 8.9.0

public function __construct( DateTime $date = null ) {
	$this->scheduled_date = null;
}