title: how to override an Ajax function in woocommerce?
body: <p>I have to override update_order_review function from class-wc-ajax.php and disable this two code:</p>
  <pre><code>WC()-&gt;cart-&gt;calculate_shipping();
  WC()-&gt;cart-&gt;calculate_totals();
  </code></pre>
  <p>how should I do that,also here is class-wc-ajax.php :</p>
  <p><a href="https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/class-wc-ajax.php" rel="nofollow noreferrer">class-wc-ajax.php</a></p>