mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Merge pull request #1969 from woocommerce/disable-pay-later-block-by-default
Disable Pay Later block by default
This commit is contained in:
commit
08aa7578b8
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class PayLaterBlockModule implements ModuleInterface {
|
|||
return apply_filters(
|
||||
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
'woocommerce.feature-flags.woocommerce_paypal_payments.paylater_block_enabled',
|
||||
getenv( 'PCP_PAYLATER_BLOCK' ) !== '0'
|
||||
getenv( 'PCP_PAYLATER_BLOCK' ) === '1'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue