♻️ More appropriate hook name

This commit is contained in:
Philipp Stracker 2025-01-30 18:22:12 +01:00
parent 5ac70e26c2
commit 5f51762025
No known key found for this signature in database
5 changed files with 4 additions and 5 deletions

View file

@ -550,7 +550,7 @@ class WCGatewayModule implements ServiceModule, ExtendingModule, ExecutableModul
);
add_filter(
'woocommerce_paypal_payments_rest_common_merchant_data',
'woocommerce_paypal_payments_rest_common_merchant_features',
static function ( array $features ) use ( $c ) : array {
try {
$billing_agreements_endpoint = $c->get( 'api.endpoint.billing-agreements' );