WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_Schedule::__sleep() public WC 1.0

For PHP 5.2 compat, since DateTime objects can't be serialized

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

No Hooks.

Return

Array.

Usage

$ActionScheduler_Abstract_Schedule = new ActionScheduler_Abstract_Schedule();
$ActionScheduler_Abstract_Schedule->__sleep();

Code of ActionScheduler_Abstract_Schedule::__sleep() WC 6.1.1

public function __sleep() {
	$this->scheduled_timestamp = $this->scheduled_date->getTimestamp();
	return array(
		'scheduled_timestamp',
	);
}