Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::update_meta()publicWC 1.0

Update meta.

Method of the class: OrdersTableDataStore{}

No Hooks.

Return

null. Nothing.

Usage

$OrdersTableDataStore = new OrdersTableDataStore();
$OrdersTableDataStore->update_meta( $object, $meta );
$object(WC_Data) (required) (passed by reference — &)
WC_Data object.
$meta(stdClass) (required)
(containing ->id, ->key and ->value).

OrdersTableDataStore::update_meta() code WC 7.1.0

public function update_meta( &$object, $meta ) {
	return $this->data_store_meta->update_meta( $object, $meta );
}