forked from joffcrabtree/header-footer-elementor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader-footer-elementor.php
More file actions
45 lines (39 loc) · 1.35 KB
/
header-footer-elementor.php
File metadata and controls
45 lines (39 loc) · 1.35 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
<?php
/**
* Plugin Name: Elementor Header & Footer Builder
* Plugin URI: https://github.com/Nikschavan/header-footer-elementor
* Description: This powerful plugin allows creating a custom header, footer with Elementor and display them on selected locations. You can also create custom Elementor blocks and place them anywhere on the website with a shortcode.
* Author: Brainstorm Force, Nikhil Chavan
* Author URI: https://www.brainstormforce.com/
* Text Domain: header-footer-elementor
* Domain Path: /languages
* Version: 1.6.35
* Elementor tested up to: 3.22
* Elementor Pro tested up to: 3.22
*
* @package header-footer-elementor
*/
define( 'HFE_VER', '1.6.35' );
define( 'HFE_FILE', __FILE__ );
define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
define( 'HFE_PATH', plugin_basename( __FILE__ ) );
define( 'HFE_DOMAIN', trailingslashit( 'https://ultimateelementor.com' ) );
/**
* Load the class loader.
*/
require_once HFE_DIR . '/inc/class-header-footer-elementor.php';
/**
* Load the Plugin Class.
*/
function hfe_plugin_activation() {
update_option( 'hfe_plugin_is_activated', 'yes' );
}
register_activation_hook( HFE_FILE, 'hfe_plugin_activation' );
/**
* Load the Plugin Class.
*/
function hfe_init() {
Header_Footer_Elementor::instance();
}
add_action( 'plugins_loaded', 'hfe_init' );