mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Disable pay later block by default
This commit is contained in:
parent
4c04144c23
commit
4d54d2d255
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