Add settings page URL to JS config

This commit is contained in:
Narek Zakarian 2025-08-15 20:32:46 +04:00
parent 95e85ec51c
commit 628c83b7b9
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -165,6 +165,7 @@ class SettingsModule implements ServiceModule, ExecutableModule {
'Are you sure you want to switch to the new settings interface?This action cannot be undone.',
'woocommerce-paypal-payments'
),
'settingsUrl' => admin_url( 'admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway' ),
)
);