Skip to content

Commit

Permalink
Added hook to prevent fees when order is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhitatosaniya committed Jan 9, 2024
1 parent d57ee93 commit 8b289ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/class-alg-wc-order-fees.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public function alg_wc_cf_update_order_fees( $order_id, $order ) {
$this->remove_fees( $order );
$this->add_gateways_fees( $order, $posted_payment_method );
}
do_action( 'alg_wc_checkout_fees_after_order_updated', $this, $order );
}

/**
Expand Down

0 comments on commit 8b289ca

Please sign in to comment.