Allow pay later button in block

This commit is contained in:
Alex P 2023-04-05 17:55:58 +03:00
parent bfaf05a96e
commit ccb5391d81
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -26,9 +26,4 @@ return array(
unset( $locations['cart-block'] );
return $locations;
},
'wcgateway.settings.pay-later.button-locations' => function ( ContainerInterface $container, array $locations ): array {
unset( $locations['checkout-block-express'] );
unset( $locations['cart-block'] );
return $locations;
},
);