ActionScheduler_CanceledAction::__constructpublicWC 1.0

Construct.

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

Хуков нет.

Возвращает

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

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

$ActionScheduler_CanceledAction = new ActionScheduler_CanceledAction();
$ActionScheduler_CanceledAction->__construct( $hook, $args, ?ActionScheduler_Schedule $schedule, $group );
$hook(строка) (обязательный)
Action's hook.
$args(массив)
Action's arguments.
По умолчанию: array()
?ActionScheduler_Schedule $schedule
.
По умолчанию: null
$group(строка)
Action's group.
По умолчанию: ''

Код ActionScheduler_CanceledAction::__construct() WC 9.9.5

public function __construct( $hook, array $args = array(), ?ActionScheduler_Schedule $schedule = null, $group = '' ) {
	parent::__construct( $hook, $args, $schedule, $group );
	if ( is_null( $schedule ) ) {
		$this->set_schedule( new ActionScheduler_NullSchedule() );
	}
}