ActionScheduler_Action::__construct()publicWC 1.0

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

Хуков нет.

Возвращает

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

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

$ActionScheduler_Action = new ActionScheduler_Action();
$ActionScheduler_Action->__construct( $hook, $args, $schedule, $group );
$hook (обязательный)
-
$args(массив)
-
По умолчанию: array()
$schedule(ActionScheduler_Schedule)
-
По умолчанию: NULL
$group **
-
По умолчанию: ''

Код ActionScheduler_Action::__construct() WC 8.7.0

public function __construct( $hook, array $args = array(), ActionScheduler_Schedule $schedule = NULL, $group = '' ) {
	$schedule = empty( $schedule ) ? new ActionScheduler_NullSchedule() : $schedule;
	$this->set_hook($hook);
	$this->set_schedule($schedule);
	$this->set_args($args);
	$this->set_group($group);
}