Add improvements based on PR feedback

This commit is contained in:
Emili Castells Guasch 2023-09-21 11:24:50 +02:00
parent 1523ee4dfb
commit 09ac019bd0
5 changed files with 5 additions and 5 deletions

View file

@ -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" )();