WC_Object_Data_Store_Interface::update()publicWC 1.0

Updates a record in the database.

Method of the class: WC_Object_Data_Store_Interface{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Object_Data_Store_Interface = new WC_Object_Data_Store_Interface();
$WC_Object_Data_Store_Interface->update( $data );
$data(WC_Data) (required) (passed by reference — &)
Data object.

WC_Object_Data_Store_Interface::update() code WC 9.4.2

public function update( &$data );