ActionScheduler_NullAction::__construct()publicWC 1.0

Construct.

Method of the class: ActionScheduler_NullAction{}

No Hooks.

Return

null. Nothing (null).

Usage

$ActionScheduler_NullAction = new ActionScheduler_NullAction();
$ActionScheduler_NullAction->__construct( $hook, $args, ?ActionScheduler_Schedule $schedule );
$hook(string)
Action hook.
Default: ''
$args(mixed[])
Action arguments.
Default: array()
?ActionScheduler_Schedule $schedule **
-
Default: null

ActionScheduler_NullAction::__construct() code WC 9.6.1

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