PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 2.15
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v2.15
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 3.0.70 3.0.71 3.0.72 All 35 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 2.15, at compatibility/cf7/ControllerCF7.class.php

36 lines 847 B
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
14 {
15 /**
16 * Admin constructor.
17 */
18 public function __construct()
19 {
20 require_once('Frontend.class.php');
21 $Frontend = new Frontend();
22
23 require_once('Backend.class.php');
24 $Backend = new Backend();
25
26 require_once('ConditionalFields.class.php');
27 $CF = new ConditionalFields();
28 }
29 }
30
31 add_action('f12_cf7_doubleoptin_ui_after_load_compatibilities', function(){
32 if(function_exists('wpcf7')) {
33 $Controller = new ControllerCF7();
34 }
35 });
36 }