Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::update_post_meta()protectedWC 1.0

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

Method of the class: OrdersTableDataStore{}

No Hooks.

Return

null. Nothing.

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 7.1.0

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