PluginProbe
Easy Elements for Elementor – Addons & Website Templates / 1.0.3
Easy Elements for Elementor – Addons & Website Templates v1.0.3
1.5.3 1.5.2 1.5.1 1.5.0 1.4.9 1.4.6 1.4.7 1.4.8 1.4.5 1.4.4 1.4.3 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 All 47 releases
easy-elements / easy-elements.php

easy-elements.php in Easy Elements for Elementor – Addons & Website Templates 1.0.3, at easy-elements.php

43 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Easy Elements
4 * Plugin URI: http://themewant.com/
5 * Description: Provides a set of custom Elementor widgets, shortcodes, and enhancements.
6 * Version: 1.0.3
7 * Author: Themewant
8 * Author URI: http://themewant.com/
9 * Text Domain: easy-elements
10 * Domain Path: /languages
11 * License: GPLv2 or later
12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13 */
14
15 if ( ! defined( 'ABSPATH' ) ) {
16 exit;
17 }
18
19 // Define constants
20 define( 'EASYELEMENTS_VER', '1.0.3' );
21 define( 'EASYELEMENTS_FILE', __FILE__ );
22 define( 'EASYELEMENTS_DIR_PATH', plugin_dir_path( __FILE__ ) );
23 define( 'EASYELEMENTS_DIR_URL', plugin_dir_url( __FILE__ ) );
24 define( 'EASYELEMENTS_ASSETS_URL', EASYELEMENTS_DIR_URL . 'assets/' );
25 define( 'EASYELEMENTS_URL', plugins_url( '/', __FILE__ ) );
26 define( 'EASYELEMENTS_PATH', plugin_basename( __FILE__ ) );
27 define( 'EASYELEMENTS_DOMAIN', trailingslashit( 'http://themewant.com' ) );
28 define( 'EASYELEMENTS_URL_ADMIN', plugin_dir_url( __FILE__ ) );
29 define( 'EASYELEMENTS_ASSETS_ADMIN', trailingslashit( EASYELEMENTS_URL_ADMIN ) );
30
31
32 require_once EASYELEMENTS_DIR_PATH . 'inc/class-loader.php';
33
34 register_activation_hook( EASYELEMENTS_FILE, 'easy_elements_activate' );
35
36 function easy_elements_activate() {
37 flush_rewrite_rules();
38 }
39
40 add_action( 'plugins_loaded', function() {
41 Easy_Header_Footer_Elementor::instance();
42 });
43