Automattic\WooCommerce\StoreApi\Routes\V1
CheckoutOrder::cart_updated
Since this endpoint only operates on existing orders, we don't need to do updates based on the cart data.
Method of the class: CheckoutOrder{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->cart_updated( $request );
- $request(WP_REST_Request) (required)
- Request object.
CheckoutOrder::cart_updated() CheckoutOrder::cart updated code WC 10.7.0
protected function cart_updated( \WP_REST_Request $request ) {}