PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 3.1.0
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v3.1.0
5.12.0 5.13.0 5.13.1 5.11.0 5.10.0 5.9.0 5.8.0 5.8.1 5.7.0 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 All 47 releases
double-opt-in / compatibility / cf7 / ControllerCF7.class.php

ControllerCF7.class.php in Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification 3.1.0, at compatibility/cf7/ControllerCF7.class.php

44 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace forge12\contactform7\CF7DoubleOptIn {
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7
8 /**
9 * Class ControllerCF7
10 *
11 * @package forge12\contactform7\CF7OptIn
12 */
13 class ControllerCF7 extends BaseController {
14 /**
15 * Admin constructor.
16 */
17 public function on_init() {
18 $this->get_logger()->debug( 'CF7 integration on_init started', [
19 'plugin' => 'double-opt-in',
20 'class' => __CLASS__,
21 'method' => __METHOD__,
22 ] );
23
24 require_once( 'CF7Frontend.class.php' );
25 $Frontend = new CF7Frontend( $this->get_logger() );
26 $this->get_logger()->debug( 'CF7Frontend initialized', [
27 'plugin' => 'double-opt-in',
28 ] );
29
30 require_once( 'CF7Backend.class.php' );
31 $Backend = new CF7Backend( $this->get_logger() );
32 $this->get_logger()->debug( 'CF7Backend initialized', [
33 'plugin' => 'double-opt-in',
34 ] );
35
36 require_once( 'CF7ConditionalFields.class.php' );
37 $CF = new CF7ConditionalFields( $this->get_logger() );
38 $this->get_logger()->debug( 'CF7ConditionalFields initialized', [
39 'plugin' => 'double-opt-in',
40 ] );
41 }
42
43 }
44 }