mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Remove subscriptions api feature flag
This commit is contained in:
parent
2bbd497e7c
commit
b116d6cb20
6 changed files with 6 additions and 22 deletions
|
@ -774,10 +774,6 @@ class SmartButton implements SmartButtonInterface {
|
|||
* @return bool
|
||||
*/
|
||||
private function paypal_subscriptions_enabled(): bool {
|
||||
if ( defined( 'PPCP_FLAG_SUBSCRIPTIONS_API' ) && ! PPCP_FLAG_SUBSCRIPTIONS_API ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
$subscriptions_mode = $this->settings->get( 'subscriptions_mode' );
|
||||
} catch ( NotFoundException $exception ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue