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

@ -163,11 +163,7 @@ class StatusReportModule implements ModuleInterface {
$had_ppec_plugin
),
),
);
// For now only show this status if PPCP_FLAG_SUBSCRIPTIONS_API is true.
if ( defined( 'PPCP_FLAG_SUBSCRIPTIONS_API' ) && PPCP_FLAG_SUBSCRIPTIONS_API ) {
$items[] = array(
array(
'label' => esc_html__( 'Subscriptions Mode', 'woocommerce-paypal-payments' ),
'exported_label' => 'Subscriptions Mode',
'description' => esc_html__( 'Whether subscriptions are active and their mode.', 'woocommerce-paypal-payments' ),
@ -176,8 +172,8 @@ class StatusReportModule implements ModuleInterface {
$settings->has( 'subscriptions_mode' ) ? (string) $settings->get( 'subscriptions_mode' ) : '',
$subscriptions_mode_settings
),
);
}
),
);
echo wp_kses_post(
$renderer->render(