ActionScheduler_Action::__construct()
Метод класса: ActionScheduler_Action{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$ActionScheduler_Action = new ActionScheduler_Action(); $ActionScheduler_Action->__construct( $hook, $args, $schedule, $group );
- $hook (обязательный)
- -
- $args(массив)
- -
По умолчанию: array() - $schedule(ActionScheduler_Schedule)
- -
По умолчанию: NULL - $group **
- -
По умолчанию: ''
Код ActionScheduler_Action::__construct() ActionScheduler Action:: construct WC 7.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); }