-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplugin.php
21 lines (18 loc) · 877 Bytes
/
plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
* Plugin Name: Controls for Contact Form 7
* Description: Use the "Controls" tab of each form settings for advanced controls. Subscribe to the <a href="https://formcontrols.com/pro" target="_blank">🚀 PRO version</a> for advanced analytics and tracking features.
* Plugin URI: https://formcontrols.com
* Author: Kaspars Dambis
* Author URI: https://formcontrols.com
* Version: 0.10.0
* License: GPL2
* Text Domain: contact-form-7-extras
*/
require_once __DIR__ . '/src/class-cf7-extras-form-settings.php';
require_once __DIR__ . '/src/class-cf7-extras-integration.php'; // Before all integrations.
require_once __DIR__ . '/src/class-cf7-extras-integration-tablepress.php';
require_once __DIR__ . '/src/class-cf7-extras.php';
$plugin = Cf7_Extras::instance();
$plugin->set_plugin_dir( __DIR__ );
add_action( 'plugins_loaded', array( $plugin, 'init' ) );