Add new ui active item to status report

This commit is contained in:
Emili Castells Guasch 2025-03-20 12:17:12 +01:00
parent 20241d2cc2
commit bb3bdbbe5c

View file

@ -94,6 +94,17 @@ class StatusReportModule implements ServiceModule, ExtendingModule, ExecutableMo
$this->onboarded( $bearer, $is_connected )
),
),
array(
'label' => esc_html__( 'New UI active', 'woocommerce-paypal-payments' ),
'exported_label' => 'New UI active',
'description' => esc_html__( 'Whether the new Settings UI is active or not.', 'woocommerce-paypal-payments' ),
'value' => $this->bool_to_html(
apply_filters(
'woocommerce.feature-flags.woocommerce_paypal_payments.settings_enabled',
'1' === get_option( 'woocommerce-ppcp-is-new-merchant' ) || getenv( 'PCP_SETTINGS_ENABLED' ) === '1'
)
),
),
array(
'label' => esc_html__( 'Shop country code', 'woocommerce-paypal-payments' ),
'exported_label' => 'Shop country code',