WordPress at Your Fingertips
function is not described

WooCommerce::__wakeup() public WC 2.1

Unserializing instances of this class is forbidden.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.1 Introduced.

Code of WooCommerce::__wakeup() WC 5.7.1

public function __wakeup() {
	wc_doing_it_wrong( __FUNCTION__, __( 'Unserializing instances of this class is forbidden.', 'woocommerce' ), '2.1' );
}