Code-Snippets-Functions/Execute a function on a child site/WooCommerce/remove-order-total-from-my-account-orders.txt
2019-02-15 14:33:31 -07:00

6 lines
193 B
Text

add_filter('woocommerce_my_account_my_orders_columns', 'remove_my_account_order_total', 10);
function remove_my_account_order_total($order){
unset($order['order-total']);
return $order;
}