Add filter for container before it passed to app

This commit is contained in:
Kirill Braslavsky 2021-08-10 14:18:15 +03:00
parent 5a84bd1430
commit a46b904525
No known key found for this signature in database
GPG key ID: 61737D0C41BF3E75

View file

@ -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 */