WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_Schedule::__construct() public WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_Abstract_Schedule = new ActionScheduler_Abstract_Schedule();
$ActionScheduler_Abstract_Schedule->__construct( $date );
$date(DateTime) (required)
The date & time to run the action.

Code of ActionScheduler_Abstract_Schedule::__construct() WC 6.1.1

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