W3cubDocs

/WordPress

FilteredIterator::__wakeup(): void

Perform reinitialization tasks.

Description

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

Return

void

Source

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

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-utility-filterediterator/__wakeup