-
Notifications
You must be signed in to change notification settings - Fork 2
/
jet-forms-popup-notification.php
33 lines (26 loc) · 1.1 KB
/
jet-forms-popup-notification.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
<?php
/**
* Plugin Name: JetEngine Forms - popup notification
* Plugin URI:
* Description: Also supports JetFormBuilder.
* Version: 1.1.5
* Author: Crocoblock
* Author URI: https://crocoblock.com/
* Text Domain: jet-forms-popup-notification
* License: GPL-3.0+
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die();
}
add_action( 'plugins_loaded', 'jet_forms_popup_notification' );
function jet_forms_popup_notification() {
define( 'JET_FORMS_POPUP_NOTIFICATION_VERSION', '1.1.5' );
define( 'JET_FORMS_POPUP_NOTIFICATION__FILE__', __FILE__ );
define( 'JET_FORMS_POPUP_NOTIFICATION_PLUGIN_BASE', plugin_basename( JET_FORMS_POPUP_NOTIFICATION__FILE__ ) );
define( 'JET_FORMS_POPUP_NOTIFICATION_PATH', plugin_dir_path( JET_FORMS_POPUP_NOTIFICATION__FILE__ ) );
define( 'JET_FORMS_POPUP_NOTIFICATION_URL', plugins_url( '/', JET_FORMS_POPUP_NOTIFICATION__FILE__ ) );
require JET_FORMS_POPUP_NOTIFICATION_PATH . 'includes' . DIRECTORY_SEPARATOR . 'plugin.php';
}