Hide renew button in my account subscription

This commit is contained in:
Emili Castells Guasch 2023-04-04 09:00:27 +02:00
parent 1cea0ff8d0
commit d9474313ad

View file

@ -324,11 +324,12 @@ class SubscriptionModule implements ModuleInterface {
);
$actions['cancel']['name'] = esc_html__( 'Suspend', 'woocommerce-paypal-payments' );
unset( $actions['subscription_renewal_early'] );
}
return $actions;
},
10,
11,
2
);