mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add new ui active item to status report
This commit is contained in:
parent
20241d2cc2
commit
bb3bdbbe5c
1 changed files with 11 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue