Remove subscriptions api feature flag

This commit is contained in:
Emili Castells Guasch 2023-09-13 09:14:57 +02:00
parent 2bbd497e7c
commit b116d6cb20
6 changed files with 6 additions and 22 deletions

View file

@ -881,7 +881,7 @@ return array(
),
);
if ( defined( 'PPCP_FLAG_SUBSCRIPTIONS_API' ) && ! PPCP_FLAG_SUBSCRIPTIONS_API || ! $subscription_helper->plugin_is_active() ) {
if ( ! $subscription_helper->plugin_is_active() ) {
unset( $fields['subscriptions_mode'] );
}