mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add improvements based on PR feedback
This commit is contained in:
parent
1523ee4dfb
commit
09ac019bd0
5 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ return function ( string $root_dir ): iterable {
|
|||
|
||||
if ( apply_filters(
|
||||
//phpcs:disable WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
'woocommerce.deprecated-flags.woocommerce_paypal_payments.saved_payment_checker_enabled',
|
||||
'woocommerce.deprecated_flags.woocommerce_paypal_payments.saved_payment_checker_enabled',
|
||||
getenv( 'PCP_SAVED_PAYMENT_CHECKER_ENABLED' ) === '1'
|
||||
) ) {
|
||||
$modules[] = ( require "$modules_dir/ppcp-saved-payment-checker/module.php" )();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue