W3cubDocs

/WordPress

WP_Block_Bindings_Source::__wakeup()

Wakeup magic method.

Source

public function __wakeup() {
	throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}

Changelog

Version Description
6.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_block_bindings_source/__wakeup