WordPress at Your Fingertips
function is not described

WC_Data_Store::__sleep() public WC 1.0

Only store the object type to avoid serializing the data store instance.

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

No Hooks.

Return

Array.

Usage

$WC_Data_Store = new WC_Data_Store();
$WC_Data_Store->__sleep();

Code of WC_Data_Store::__sleep() WC 5.6.0

public function __sleep() {
	return array( 'object_type' );
}