mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🐛 Load button preview JS on ACDC settings page
Renamed the DI service name; this service is only used in two places (APM modules), which were also updated.
This commit is contained in:
parent
ebb1f6962f
commit
d69fb5bc70
3 changed files with 18 additions and 5 deletions
|
@ -205,7 +205,7 @@ class ApplepayModule implements ModuleInterface {
|
|||
add_action(
|
||||
'admin_enqueue_scripts',
|
||||
static function () use ( $c, $button ) {
|
||||
if ( ! is_admin() || ! $c->get( 'wcgateway.is-ppcp-settings-standard-payments-page' ) ) {
|
||||
if ( ! is_admin() || ! $c->get( 'wcgateway.is-ppcp-settings-payment-methods-page' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue