-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelementify-visual-widgets.php
48 lines (39 loc) · 1.08 KB
/
elementify-visual-widgets.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
<?php
/**
* Plugin Name: Elementify Visual Widgets
* Description: The Elementify Visual Widgets plugin you install after Elementor! Packed with stunning free elements.
* Plugin URI: https://astoundify.com/products/elementify-visual-widgets
* Author: Astoundify
* Version: 1.0.0
* Author URI: https://astoundify.com/
* Text Domain: elementify-visual-widgets
* Domain Path: /languages
* Elementor tested up to: 3.2.4
* Elementor Pro tested up to: 3.2.2
*/
if ( !defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
/**
* Defining plugin constants.
*
* @since 1.0.0
*/
define( 'EVW_PLUGIN_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
/**
* Load Plugin Text Domain.
*
* @since 1.0.0
*/
load_plugin_textdomain( 'elementify-visual-widgets' );
/**
* Including elementor elements
*
* @since 1.0.0
*/
if( !function_exists( 'evw_load_elementor_widget' ) ) {
function evw_load_elementor_widget() {
require_once EVW_PLUGIN_PATH . 'includes/elementor-elements/features.php';
}
}
add_action( 'elementor/widgets/widgets_registered', 'evw_load_elementor_widget' );