PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.6.3
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.6.3
5.6.2 5.6.3 5.6.1 5.6.0 5.5.0 5.4.0 5.3.2 5.3.1 5.1.6 5.1.5 trunk 2.1.5 2.11 2.12 2.13 2.15 3.0.0 3.0.1 3.0.2 3.0.3 3.0.5 3.0.51 3.0.60 3.0.61 3.0.62 All 38 releases
← All changes | src/Providers/IntegrationServiceProvider.php +6 -0 5.4.0 → 5.6.3 View file →
@@ -11,8 +11,10 @@
11 11 use Forge12\DoubleOptIn\Container\Container;
12 12 use Forge12\DoubleOptIn\Container\BootableProviderInterface;
13 13 use Forge12\DoubleOptIn\Integration\FormIntegrationRegistry;
14 14 use Forge12\DoubleOptIn\Integration\CF7Integration;
15 +use Forge12\DoubleOptIn\Integration\CF7FollowUpAdapter;
16 +use Forge12\DoubleOptIn\FollowUp\FollowUpAdapterRegistry;
15 17 use Forge12\DoubleOptIn\Frontend\ErrorNotification;
16 18 use Forge12\Shared\LoggerInterface;
17 19
18 20 if ( ! defined( 'ABSPATH' ) ) {
@@ -146,8 +148,12 @@
146 148 // ships as a paid addon that registers via the AddonRegistry.
147 149 try {
148 150 $cf7Integration = $container->get( CF7Integration::class );
149 151 $registry->register( $cf7Integration );
152 +
153 + if ( $container->has( FollowUpAdapterRegistry::class ) ) {
154 + $container->get( FollowUpAdapterRegistry::class )->register( new CF7FollowUpAdapter( $cf7Integration ) );
155 + }
150 156 } catch ( \Exception $e ) {
151 157 // Log but don't fail if CF7 integration can't be loaded
152 158 if ( $container->has( LoggerInterface::class ) ) {
153 159 $container->get( LoggerInterface::class )->warning(