ActionScheduler_NullSchedule::__construct()
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|DateTime)
- The date & time to run the action.
Default: null
ActionScheduler_NullSchedule::__construct() ActionScheduler NullSchedule:: construct code WC 9.5.1
public function __construct( DateTime $date = null ) { $this->scheduled_date = null; }