mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Use the 'ppcp.path-to-plugin-main-file'
config
This commit is contained in:
parent
235a9f45cf
commit
943a0d197c
21 changed files with 24 additions and 23 deletions
|
@ -174,7 +174,7 @@ return array(
|
|||
);
|
||||
},
|
||||
'button.url' => static function ( ContainerInterface $container ): string {
|
||||
return plugins_url( '/modules/ppcp-button/', $container->get( 'ppcp.plugin-path' ) );
|
||||
return plugins_url( '/modules/ppcp-button/', $container->get( 'ppcp.path-to-plugin-main-file' ) );
|
||||
},
|
||||
'button.pay-now-contexts' => static function ( ContainerInterface $container ): array {
|
||||
$defaults = array( 'checkout', 'pay-now' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue