From d64fe96e556fe41811d9ae9866d35b30fff7f15b Mon Sep 17 00:00:00 2001 From: frosso Date: Thu, 7 Nov 2024 13:02:39 +0100 Subject: [PATCH] filter deprecation --- includes/class-wc-payments-order-success-page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-payments-order-success-page.php b/includes/class-wc-payments-order-success-page.php index a1292f25b1e..24e99e81eb0 100644 --- a/includes/class-wc-payments-order-success-page.php +++ b/includes/class-wc-payments-order-success-page.php @@ -128,7 +128,7 @@ public function show_woopay_payment_method_name( $order ) { */ public function show_lpm_payment_method_name( $gateway, $payment_method ) { $method_logo_url = apply_filters( - 'wc_payments_thank_you_page_bnpl_payment_method_logo_url', + 'wc_payments_thank_you_page_lpm_payment_method_logo_url', $payment_method->get_payment_method_icon_for_location( 'checkout', false, $gateway->get_account_country() ), $payment_method->get_id() );