Re-add ignore code comment

This commit is contained in:
Daniel Dudzic 2025-03-24 18:38:27 +01:00
parent 98800e5cf5
commit 529fa60712
No known key found for this signature in database
GPG key ID: 31B40D33E3465483

View file

@ -50,6 +50,7 @@ class OnboardingModule implements ServiceModule, ExtendingModule, ExecutableModu
function() use ( $c ) {
if (
apply_filters(
// phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
'woocommerce.feature-flags.woocommerce_paypal_payments.settings_enabled',
'1' === get_option( 'woocommerce-ppcp-is-new-merchant' )
|| getenv( 'PCP_SETTINGS_ENABLED' ) === '1'