fix filter name

This commit is contained in:
Kirill Braslavsky 2021-07-26 19:02:52 +03:00
parent 1fbf5bae10
commit 4f8e917c37
No known key found for this signature in database
GPG key ID: 61737D0C41BF3E75

View file

@ -991,7 +991,7 @@ class SmartButton implements SmartButtonInterface {
*/
private function pay_order_renderer_hook(): string
{
return (string) apply_filters('woocommerce_paypal_payments-pay-order_dcc_renderer_hook', 'woocommerce_pay_order_after_submit');
return (string) apply_filters('woocommerce_paypal_payments_pay_order_dcc_renderer_hook', 'woocommerce_pay_order_after_submit');
}
/**