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 (null).

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 8.7.0

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