Disable the messaging configurator feature flag

This commit is contained in:
Narek Zakarian 2024-02-22 19:30:54 +04:00
parent acbbb06ca5
commit 5ece2690e0
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -29,7 +29,7 @@ class PayLaterConfiguratorModule implements ModuleInterface {
return apply_filters(
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
'woocommerce.feature-flags.woocommerce_paypal_payments.paylater_configurator_enabled',
getenv( 'PCP_PAYLATER_CONFIGURATOR' ) !== '0'
getenv( 'PCP_PAYLATER_CONFIGURATOR' ) === '1'
);
}