forked from namncn/elementor-white-label
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelementor-white-label.php
30 lines (26 loc) · 1.04 KB
/
elementor-white-label.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
<?php
/**
* Plugin Name: Elementor White Label
* Plugin URI: https://namncn.com
* Description: White Label for Elementor Page Builder.
* Version: 1.0.1
* Author: PhoenixDigi Việt Nam
* Author URI: https://phoenixdigi.vn
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: elementor-white-label
* Domain Path: /languages/
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
define( 'ELEMENTOR_WHITE_LABEL_VER', '1.0.1' );
define( 'ELEMENTOR_WHITE_LABEL_PATH', plugin_dir_path( __FILE__ ) );
define( 'ELEMENTOR_WHITE_LABEL_BASE', plugin_basename( __FILE__ ) );
define( 'ELEMENTOR_WHITE_LABEL_URL', plugins_url( '/', __FILE__ ) );
require_once ELEMENTOR_WHITE_LABEL_PATH . 'includes/class-elementor-white-label.php';
/**
* Load Localisation files.
*/
function ewl_load_plugin_textdomain() {
load_plugin_textdomain( 'elementor-white-label', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
}
add_action( 'plugins_loaded', 'ewl_load_plugin_textdomain' );