-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquick-popup-anything.php
More file actions
70 lines (61 loc) · 1.68 KB
/
Copy pathquick-popup-anything.php
File metadata and controls
70 lines (61 loc) · 1.68 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
/**
* Plugin Name: Quick Popup Anything
* Plugin URI: https://wordpress.org/plugins/quick-popup-anything/
* Description: A lightweight, responsive and easy to use popup plugin. Add html, texts, shortcodes, videos & more.
* Version: 1.0.0
* Author: Monster Infotech
* Author URI: https://monsterinfotech.com/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: quick-popup-anything
* Domain Path: /languages
*
* @since 1.0.0
* @author Parth Solanki
* @package Quick_Popup_Anything
*/
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* @since 1.0.0
* Define plugin version
*/
define( 'MIQPA_VERSION', '1.0.0' );
/**
* @since 1.0.0
* Define plugin directory file URL
*/
define( 'MIQPA_PLUGIN_FILE_URL', __FILE__ );
/**
* @since 1.0.0
* Define plugin directory path
*/
define( 'MIQPA_PLUGIN_DIR', plugin_dir_url( __FILE__ ) );
/**
* @since 1.0.0
* Register enqueue scripts
*/
require_once plugin_dir_path( MIQPA_PLUGIN_FILE_URL ) . 'includes/load-scripts.php';
/**
* @since 1.0.0
* Register admin menu
*/
require_once plugin_dir_path( MIQPA_PLUGIN_FILE_URL ) . 'includes/admin-menu.php';
/**
* @since 1.0.0
* Include Quick Popup Anything settings
*/
require_once plugin_dir_path( MIQPA_PLUGIN_FILE_URL ) . 'includes/admin-settings.php';
/**
* @since 1.0.0
* Include MIQPA client side
*/
require_once plugin_dir_path( MIQPA_PLUGIN_FILE_URL ) . 'includes/front-popup.php';
/**
* @since 1.0.0
* Plugin activation
*/
require_once plugin_dir_path( MIQPA_PLUGIN_FILE_URL ) . 'includes/set-options.php';