Use plugin version as asset version

This commit is contained in:
Alex P 2022-02-17 18:51:24 +02:00
parent 651099705a
commit 0c07ebd629
11 changed files with 72 additions and 24 deletions

View file

@ -22,7 +22,8 @@ return array(
},
'vaulting.assets.myaccount-payments' => function( ContainerInterface $container ) : MyAccountPaymentsAssets {
return new MyAccountPaymentsAssets(
$container->get( 'vaulting.module-url' )
$container->get( 'vaulting.module-url' ),
$container->get( 'ppcp.asset-version' )
);
},
'vaulting.payment-tokens-renderer' => static function (): PaymentTokensRenderer {