mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Hide renew button in my account subscription
This commit is contained in:
parent
1cea0ff8d0
commit
d9474313ad
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue