WordPress at Your Fingertips
function is not described

ActionScheduler_NullSchedule::__construct() public WC 1.0

Make the $date param optional and default to null.

{} It's a method of the class: ActionScheduler_NullSchedule{}

No Hooks.


null. Nothing.


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

Code of ActionScheduler_NullSchedule::__construct() WC 6.1.1

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