ActionScheduler_Action::__construct()publicWC 1.0

Method of the class: ActionScheduler_Action{}

No Hooks.

Return

null. Nothing (null).

Usage

$ActionScheduler_Action = new ActionScheduler_Action();
$ActionScheduler_Action->__construct( $hook, $args, $schedule, $group );
$hook (required)
-
$args(array)
-
Default: array()
$schedule(ActionScheduler_Schedule)
-
Default: NULL
$group **
-
Default: ''

ActionScheduler_Action::__construct() code 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);
}