WpOrg\Requests\Utility

FilteredIterator::__wakeup()publicWP 1.0

Perform reinitialization tasks.

Prevents a callback from being injected during unserialization of an object.

Method of the class: FilteredIterator{}

No Hooks.

Return

null. Nothing (null).

Usage

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

FilteredIterator::__wakeup() code WP 6.6.2

public function __wakeup() {
	unset($this->callback);
}