mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 16:24:33 +08:00
Merge pull request #1172 from woocommerce/PCP-1438-get-cart-warning
Use wp_loaded for fraudnet loading to avoid warnings
This commit is contained in:
commit
36281f4a8b
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ class WCGatewayModule implements ModuleInterface {
|
|||
);
|
||||
|
||||
add_action(
|
||||
'init',
|
||||
'wp_loaded',
|
||||
function () use ( $c ) {
|
||||
if ( 'DE' === $c->get( 'api.shop.country' ) ) {
|
||||
( $c->get( 'wcgateway.pay-upon-invoice' ) )->init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue