WordPress at Your Fingertips
function is not described

WC_Customer_Data_Store_Session::create() public WC 1.0

Simply update the session.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Customer_Data_Store_Session = new WC_Customer_Data_Store_Session();
$WC_Customer_Data_Store_Session->create( $customer );
$customer(WC_Customer) (required) (passed by reference — &)
Customer object.

Code of WC_Customer_Data_Store_Session::create() WC 5.8.0

public function create( &$customer ) {
	$this->save_to_session( $customer );
}