mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Add filter for container before it passed to app
This commit is contained in:
parent
5a84bd1430
commit
a46b904525
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ define( 'PPCP_FLAG_SUBSCRIPTION', true );
|
|||
$proxy = new ProxyContainer();
|
||||
$provider = new CompositeCachingServiceProvider( $providers );
|
||||
$container = new CachingContainer( new DelegatingContainer( $provider ) );
|
||||
apply_filters('woocommerce_paypal_payments_built_container', $container);
|
||||
$proxy->setInnerContainer( $container );
|
||||
foreach ( $modules as $module ) {
|
||||
/* @var $module ModuleInterface module */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue