'best way to comment line in include woocommerce file
Is there a way to comment the following line or not call the function in the part of the code in Woocommerce?
woocommerce/includes/admin/wc-admin-functions.php
I need to comment or delete this line in order to make my plugin work
$order->calculate_totals( false );
the woocomerce update is breaking my code so I need to find a way to not execute this code.
I tried using hook but I didn't find a clean way to achieve this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|