Allow to filter the disabled funding sources

This commit is contained in:
Narek Zakarian 2025-03-05 18:59:41 +04:00
parent 878bf393d7
commit f83449090b
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -104,6 +104,6 @@ class DisabledFundingSources {
$disable_funding = $all_sources;
}
return $disable_funding;
return apply_filters( 'woocommerce_paypal_payments_disabled_funding_sources', $disable_funding );
}
}