| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Fluent Forms |
| 4 |
Description: Contact Form By Fluent Forms is the advanced Contact form plugin with drag and drop, multi column supported form builder plugin |
| 5 |
Version: 4.3.8 |
| 6 |
Author: Contact Form - WPManageNinja LLC |
| 7 |
Author URI: https://fluentforms.com |
| 8 |
Plugin URI: https://wpmanageninja.com/wp-fluent-form/ |
| 9 |
License: GPLv2 or later |
| 10 |
Text Domain: fluentform |
| 11 |
Domain Path: /resources/languages |
| 12 |
*/ |
| 13 |
|
| 14 |
defined('ABSPATH') or die; |
| 15 |
|
| 16 |
defined('FLUENTFORM') or define('FLUENTFORM', true); |
| 17 |
define('FLUENTFORM_DIR_PATH', plugin_dir_path(__FILE__)); |
| 18 |
defined('FLUENTFORM_VERSION') or define('FLUENTFORM_VERSION', '4.3.8'); |
| 19 |
|
| 20 |
if (!defined('FLUENTFORM_HAS_NIA')) { |
| 21 |
define('FLUENTFORM_HAS_NIA', true); |
| 22 |
} |
| 23 |
|
| 24 |
include FLUENTFORM_DIR_PATH . 'framework/Foundation/Bootstrap.php'; |
| 25 |
|
| 26 |
use FluentForm\Framework\Foundation\Bootstrap; |
| 27 |
|
| 28 |
Bootstrap::run(__FILE__); |
| 29 |
|
| 30 |
// Handle Newtwork new Site Activation |
| 31 |
add_action('wp_insert_site', function ($blog) { |
| 32 |
switch_to_blog($blog->blog_id); |
| 33 |
include_once plugin_dir_path(__FILE__) . 'app/Modules/Activator.php'; |
| 34 |
(new FluentForm\App\Modules\Activator)->migrate(); |
| 35 |
restore_current_blog(); |
| 36 |
}); |
| 37 |
|