forked from hassantafreshi/easy-form-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemsfb.php
42 lines (35 loc) · 1.31 KB
/
emsfb.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* Plugin Name: Easy Form Builder
* Plugin URI: https://whitestudio.team
* Description: Easily create multi-step forms with tracking code support by using Easy Form Builder's drag & drop form wizard. This is the free version with limits.
* Version: 1.33.5
* Author: WhiteStudio
* Author URI: https://whitestudio.team
* Text Domain: easy-form-builder
* Domain Path: /languages
*/
/** Prevent this file from being accessed directly */
if (!defined('ABSPATH')) {
die("Direct access of plugin files is not allowed.");
}
/** Define EMSFB_PLUGIN_FILE */
if (!defined('EMSFB_PLUGIN_FILE')) {
define('EMSFB_PLUGIN_FILE', __FILE__);
}
/** Constant pointing to the root directory path of the plugin */
if (!defined("EMSFB_PLUGIN_DIRECTORY")) {
define("EMSFB_PLUGIN_DIRECTORY", plugin_dir_path(__FILE__));
}
/** Constant pointing to the root directory URL of the plugin */
if (!defined("EMSFB_PLUGIN_URL")) {
define("EMSFB_PLUGIN_URL", plugin_dir_url(__FILE__));
}
/** Constant defining the textdomain for localization */
if (!defined("EMSFB_PLUGIN_TEXTDOMAIN")) {
define("EMSFB_PLUGIN_TEXTDOMAIN", "easy-form-builder");
}
/** Load main class */
require 'includes/class-Emsfb.php';
/** Main instance of plugin */
$emsfb = new Emsfb();