WordPress at Your Fingertips
function is not described

ActionScheduler_CanceledSchedule::__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. Action Scheduler 3.0.0 aligned properties and property names for better inheritance. To maintain backward compatibility with schedules serialized and stored prior to 3.0, we need to correctly map the old property names with matching visibility.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of ActionScheduler_CanceledSchedule::__wakeup() WC 6.1.0

public function __wakeup() {
	if ( ! is_null( $this->timestamp ) ) {
		$this->scheduled_timestamp = $this->timestamp;
		unset( $this->timestamp );
	}
	parent::__wakeup();
}