-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmicemade-elements.php
51 lines (43 loc) · 1.42 KB
/
micemade-elements.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
43
44
45
46
47
48
49
50
51
<?php
/**
* Plugin Name: Micemade Elements
* Description: Extension plugin with custom elements for Elementor, created by Micemade. Elementor plugin required.
* Plugin URI: https://github.com/Micemade/micemade-elements/
* Version: 1.0.1
* Author: micemade
* Author URI: http://micemade.com
* Text Domain: micemade-elements
* Elementor tested up to: 3.8.1
* Elementor Pro tested up to: 3.1.0
*
* @package WordPress
* @subpackage Micemade Elements
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Plugin version constant.
if ( ! defined( 'MICEMADE_ELEMENTS_VERSION' ) ) {
define( 'MICEMADE_ELEMENTS_VERSION', '1.0.1' );
}
// Define MICEMADE_ELEMENTS_PLUGIN_FILE.
if ( ! defined( 'MICEMADE_ELEMENTS_PLUGIN_FILE' ) ) {
define( 'MICEMADE_ELEMENTS_PLUGIN_FILE', __FILE__ );
}
// Define plugin dir path.
if ( ! defined( 'MICEMADE_ELEMENTS_DIR' ) ) {
define( 'MICEMADE_ELEMENTS_DIR', plugin_dir_path( __FILE__ ) );
}
// Define plugin url.
if ( ! defined( 'MICEMADE_ELEMENTS_URL' ) ) {
define( 'MICEMADE_ELEMENTS_URL', plugin_dir_url( __FILE__ ) );
}
// Define plugin includes dir.
if ( ! defined( 'MICEMADE_ELEMENTS_INCLUDES' ) ) {
define( 'MICEMADE_ELEMENTS_INCLUDES', MICEMADE_ELEMENTS_DIR . 'includes/' );
}
// Define plugin slug or a basename.
if ( ! defined( 'MICEMADE_ELEMENTS_SLUG' ) ) {
define( 'MICEMADE_ELEMENTS_SLUG', plugin_basename( __FILE__ ) );
}
require_once MICEMADE_ELEMENTS_INCLUDES . 'class-micemade-elements.php';