ActionScheduler_NullSchedule::__construct()publicWC 1.0

Make the $date param optional and default to null.

Method of the class: ActionScheduler_NullSchedule{}

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_NullSchedule = new ActionScheduler_NullSchedule();
$ActionScheduler_NullSchedule->__construct( $date );
$date(null)
The date & time to run the action.
Default: null

ActionScheduler_NullSchedule::__construct() code WC 7.3.0

public function __construct( DateTime $date = null ) {
	$this->scheduled_date = null;
}