WordPress at Your Fingertips
function is not described

WC_Emails::__wakeup() public WC 2.1

Unserializing instances of this class is forbidden.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.1 Introduced.

Code of WC_Emails::__wakeup() WC 5.7.1

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