WC_Customer_Data_Store_Session::update
Update the session. Note, this does not persist the data to the DB.
Метод класса: WC_Customer_Data_Store_Session{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Customer_Data_Store_Session = new WC_Customer_Data_Store_Session(); $WC_Customer_Data_Store_Session->update( $customer );
- $customer(WC_Customer) (обязательный) (передается по ссылке — &)
- Customer object.
Код WC_Customer_Data_Store_Session::update() WC Customer Data Store Session::update WC 9.9.3
public function update( &$customer ) { $this->save_to_session( $customer ); }