WordPress at a glance
function is not described

ActionScheduler_Abstract_RecurringSchedule::__wakeup() public WC 1.0

Unserialize recurring schedules serialized/stored prior to AS 3.0.0

Prior to Action Scheduler 3.0.0, schedules used different property names to refer to equivalent data. For example, ActionScheduler_IntervalSchedule::start_timestamp was the same as ActionScheduler_SimpleSchedule::timestamp. This was addressed in Action Scheduler 3.0.0, where properties and property names were aligned for better inheritance. To maintain backward compatibility with scheduled serialized and stored prior to 3.0, we need to correctly map the old property names.

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

No Hooks.

Return

Null. Nothing.

Usage

$ActionScheduler_Abstract_RecurringSchedule = new ActionScheduler_Abstract_RecurringSchedule();
$ActionScheduler_Abstract_RecurringSchedule->__wakeup();

Code of ActionScheduler_Abstract_RecurringSchedule::__wakeup() WC 5.0.0

<?php
public function __wakeup() {
	parent::__wakeup();
	if ( $this->first_timestamp > 0 ) {
		$this->first_date = as_get_datetime_object( $this->first_timestamp );
	} else {
		$this->first_date = $this->get_date();
	}
}