Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::update_post_metaprotectedWC 1.0

Proxy to updating order meta. Here for backward compatibility reasons.

Method of the class: OrdersTableDataStore{}

No Hooks.

Returns

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->update_post_meta( $order );
$order(WC_Order) (required) (passed by reference — &)
Order object.

OrdersTableDataStore::update_post_meta() code WC 10.3.3

protected function update_post_meta( &$order ) {
	$this->update_order_meta( $order );
}