everest-forms
Last commit date
assets
6 years ago
includes
6 years ago
languages
6 years ago
templates
7 years ago
everest-forms.php
6 years ago
license.txt
8 years ago
readme.txt
6 years ago
uninstall.php
7 years ago
wpml-config.xml
7 years ago
everest-forms.php
43 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: Everest Forms |
| 4 | * Plugin URI: https://wpeverest.com/wordpress-plugins/everest-forms/ |
| 5 | * Description: Drag and Drop contact form builder to easily create simple to complex forms for any purpose. Lightweight, Beautiful design, responsive and more. |
| 6 | * Version: 1.5.4 |
| 7 | * Author: WPEverest |
| 8 | * Author URI: https://wpeverest.com |
| 9 | * Text Domain: everest-forms |
| 10 | * Domain Path: /languages/ |
| 11 | * |
| 12 | * @package EverestForms |
| 13 | */ |
| 14 | |
| 15 | if ( ! defined( 'ABSPATH' ) ) { |
| 16 | exit; // Exit if accessed directly. |
| 17 | } |
| 18 | |
| 19 | // Define EVF_PLUGIN_FILE. |
| 20 | if ( ! defined( 'EVF_PLUGIN_FILE' ) ) { |
| 21 | define( 'EVF_PLUGIN_FILE', __FILE__ ); |
| 22 | } |
| 23 | |
| 24 | // Include the main EverestForms class. |
| 25 | if ( ! class_exists( 'EverestForms' ) ) { |
| 26 | include_once dirname( __FILE__ ) . '/includes/class-everest-forms.php'; |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Main instance of EverestForms. |
| 31 | * |
| 32 | * Returns the main instance of EVF to prevent the need to use globals. |
| 33 | * |
| 34 | * @since 1.0.0 |
| 35 | * @return EverestForms |
| 36 | */ |
| 37 | function evf() { |
| 38 | return EverestForms::instance(); |
| 39 | } |
| 40 | |
| 41 | // Global for backwards compatibility. |
| 42 | $GLOBALS['everest-forms'] = evf(); |
| 43 |