WordPress at Your Fingertips
function is not described

WC_Checkout::__wakeup() public WC 1.0

Unserializing instances of this class is forbidden.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Checkout::__wakeup() WC 5.9.0

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