Current path: home/webdevt/www/cryptoimpot.fr/wp-content/plugins/divi-contact-form-helper/
?? Go up: /home/webdevt/www/cryptoimpot.fr/wp-content/plugins
<?php
/**
* Plugin Name: Divi Contact Form Helper
* Description: Upgrade the Divi Contact Form with over 115 premium features like file uploads, date & time picker, spam protection, digital signature, confirmation emails, Zapier integration, save entries to database, SMTP settings, custom subject line, reply-to address, conditional email routing, custom merge tags, export to CSV, auto entry backups, and so much more!
* Author: <a href="https://karobarhq.com/">Karobar Solutions LLC</a> & <a href="https://www.peeayecreative.com/">Pee-Aye Creative</a>
* Update URI: https://elegantthemes.com/
* Text Domain: divi-contact-form-helper
* Domain Path: /languages/
* Version: 1.7.21
* Requires at least: 5.x
* Requires PHP: 7.0
* License: GPL2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* You should have received a copy of the GNU General Public License
* along with Divi Contact Form Helper.
* If not, see <https://www.gnu.org/licenses/>.
* @since 1.0.0
* @author Karobar Solutions LLC & Pee-Aye Creative
* @license GPL-2.0+
* @copyright Copyright © 2022, Divi Contact Form Helper
*/
// Ensure script execution only within WordPress environment
if (!defined('ABSPATH')) {
exit;
}
// Absolute path to the main plugin file
define('KS_PAC_DCFH_PLUGIN_FILE', __FILE__);
// Plugin directory path with trailing slash
define('KS_PAC_DCFH_PLUGIN_DIR', untrailingslashit(plugin_dir_path(__FILE__)));
// Plugin URL without trailing slash
define('KS_PAC_DCFH_PLUGIN_URL', untrailingslashit(plugin_dir_url(__FILE__)));
// Plugin relative path
define('KS_PAC_DCFH_PLUGIN_BASENAME', plugin_basename(__FILE__));
// Current plugin version
define('KS_PAC_DCFH_PLUGIN_VERSION', '1.7.21');
// Development mode toggle
define('KS_PAC_DCFH_PLUGIN_DEV_MOD', false);
// Required File
require_once KS_PAC_DCFH_PLUGIN_DIR.'/app/bootstrap.php'; // phpcs:ignore
/**
* This function is responsible for executing activation procedures.
*
* @param bool $network_wide
*
* @return void
*/
if (!function_exists('ks_pac_dcfh_plugin_activation')):
function ks_pac_dcfh_plugin_activation($network_wide): void
{
\KS_PAC_DCFH\Base\Activate::activate($network_wide);
}
register_activation_hook(KS_PAC_DCFH_PLUGIN_FILE, __NAMESPACE__.'\ks_pac_dcfh_plugin_activation');
endif;
/**
* This function is triggered upon deactivation of the plugin.
*
* @param bool $network_wide
*
* @return void
*/
if (!function_exists('ks_pac_dcfh_plugin_deactivation')):
function ks_pac_dcfh_plugin_deactivation($network_wide): void
{
\KS_PAC_DCFH\Base\Deactivate::deactivate($network_wide);
}
register_deactivation_hook(KS_PAC_DCFH_PLUGIN_FILE, __NAMESPACE__.'\ks_pac_dcfh_plugin_deactivation');
endif;
/**
* Hooked to the 'plugins_loaded' action.
*/
if (!function_exists('ks_pac_dcfh_init_plugin')):
function ks_pac_dcfh_init_plugin(): void
{
\KS_PAC_DCFH\Autoloader::register_services();
}
add_action('divi_extensions_init', __NAMESPACE__.'\ks_pac_dcfh_init_plugin');
endif;