Commit 608365ff871 for woocommerce
commit 608365ff871c7c87896d64a88af4280eba86a106
Author: Dekadinious <37292177+Dekadinious@users.noreply.github.com>
Date: Fri Feb 27 16:33:15 2026 +0100
Fix error in new hook names (#56511)
diff --git a/plugins/woocommerce/changelog/fix-56511-deprecated-refund-hook-names b/plugins/woocommerce/changelog/fix-56511-deprecated-refund-hook-names
new file mode 100644
index 00000000000..ffdde1d1f59
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-56511-deprecated-refund-hook-names
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Fix incorrect new hook names in deprecated filter hooks mapping for order refund amount and reason.
diff --git a/plugins/woocommerce/includes/class-wc-deprecated-filter-hooks.php b/plugins/woocommerce/includes/class-wc-deprecated-filter-hooks.php
index 1970192cd71..ef4d4a48e67 100644
--- a/plugins/woocommerce/includes/class-wc-deprecated-filter-hooks.php
+++ b/plugins/woocommerce/includes/class-wc-deprecated-filter-hooks.php
@@ -50,8 +50,8 @@ class WC_Deprecated_Filter_Hooks extends WC_Deprecated_Hooks {
'woocommerce_order_get_total_discount' => 'woocommerce_order_amount_total_discount',
'woocommerce_order_get_subtotal' => 'woocommerce_order_amount_subtotal',
'woocommerce_order_get_tax_totals' => 'woocommerce_order_tax_totals',
- 'woocommerce_get_order_refund_get_amount' => 'woocommerce_refund_amount',
- 'woocommerce_get_order_refund_get_reason' => 'woocommerce_refund_reason',
+ 'woocommerce_order_refund_get_amount' => 'woocommerce_refund_amount',
+ 'woocommerce_order_refund_get_reason' => 'woocommerce_refund_reason',
'default_checkout_billing_country' => 'default_checkout_country',
'default_checkout_billing_state' => 'default_checkout_state',
'default_checkout_billing_postcode' => 'default_checkout_postcode',