PluginProbe
Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder & Template Kits / 2.0.9.8
Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder & Template Kits v2.0.9.8
3.2.1 3.2.0 3.1.9 3.1.8 3.1.7 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.9 trunk 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 All 172 releases
master-addons / master-addons.php

master-addons.php in Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder & Template Kits 2.0.9.8, at master-addons.php

108 lines 4.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Master Addons for Elementor
5 * Description: Master Addons is easy and must have Elementor Addons for WordPress Page Builder. Clean, Modern, Hand crafted designed Addons blocks.
6 * Plugin URI: https://master-addons.com/all-widgets/
7 * Author: Jewel Theme
8 * Version: 2.0.9.8
9 * Author URI: https://master-addons.com
10 * Text Domain: master-addons
11 * Domain Path: /languages
12 * Elementor tested up to: 3.32.4
13 * Elementor Pro tested up to: 3.32.4
14 * Wordfence Vendor Key: qgxtflvqaabgarz4gu9nozmceloswzrg
15 * */
16 // No, Direct access Sir !!!
17 if ( !defined( 'ABSPATH' ) ) {
18 exit;
19 }
20 $jltma_plugin_data = get_file_data( __FILE__, array(
21 'Version' => 'Version',
22 'Plugin Name' => 'Plugin Name',
23 'Author' => 'Author',
24 'Description' => 'Description',
25 'Plugin URI' => 'Plugin URI',
26 ), false );
27 if ( !defined( 'JLTMA' ) ) {
28 define( 'JLTMA', $jltma_plugin_data['Plugin Name'] );
29 }
30 if ( !defined( 'JLTMA_PLUGIN_DESC' ) ) {
31 define( 'JLTMA_PLUGIN_DESC', $jltma_plugin_data['Description'] );
32 }
33 if ( !defined( 'JLTMA_PLUGIN_AUTHOR' ) ) {
34 define( 'JLTMA_PLUGIN_AUTHOR', $jltma_plugin_data['Author'] );
35 }
36 if ( !defined( 'JLTMA_PLUGIN_URI' ) ) {
37 define( 'JLTMA_PLUGIN_URI', $jltma_plugin_data['Plugin URI'] );
38 }
39 if ( !defined( 'JLTMA_VER' ) ) {
40 define( 'JLTMA_VER', $jltma_plugin_data['Version'] );
41 }
42 if ( !defined( 'JLTMA_BASE' ) ) {
43 define( 'JLTMA_BASE', plugin_basename( __FILE__ ) );
44 }
45 if ( !defined( 'JLTMA_SLUG' ) ) {
46 define( 'JLTMA_SLUG', dirname( plugin_basename( __FILE__ ) ) );
47 }
48 if ( !defined( 'JLTMA_FILE' ) ) {
49 define( 'JLTMA_FILE', __FILE__ );
50 }
51 if ( !defined( 'JLTMA_PATH' ) ) {
52 define( 'JLTMA_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
53 }
54 // require_once __DIR__ . '/vendor/autoload.php';
55 if ( function_exists( 'ma_el_fs' ) ) {
56 ma_el_fs()->set_basename( false, __FILE__ );
57 } else {
58 if ( !function_exists( 'ma_el_fs' ) ) {
59 // Create a helper function for easy SDK access.
60 function ma_el_fs() {
61 global $ma_el_fs;
62 if ( !isset( $ma_el_fs ) ) {
63 // Activate multisite network integration.
64 if ( !defined( 'WP_FS__PRODUCT_4015_MULTISITE' ) ) {
65 define( 'WP_FS__PRODUCT_4015_MULTISITE', true );
66 }
67 // Include Freemius SDK.
68 require_once dirname( __FILE__ ) . '/lib/freemius/start.php';
69 $ma_el_fs = fs_dynamic_init( array(
70 'id' => '4015',
71 'slug' => 'master-addons',
72 'premium_slug' => 'master-addons-pro',
73 'type' => 'plugin',
74 'public_key' => 'pk_3c9b5b4e47a06288e3500c7bf812e',
75 'premium_suffix' => 'Pro',
76 'has_affiliation' => 'selected',
77 'has_addons' => false,
78 'has_paid_plans' => true,
79 'is_org_compliant' => true,
80 'menu' => array(
81 'slug' => 'master-addons-settings',
82 'first-path' => 'admin.php?page=master-addons-settings',
83 'contact' => false,
84 'affiliation' => false,
85 'support' => true,
86 'pricing' => true,
87 ),
88 'trial' => false,
89 'is_live' => true,
90 'is_premium' => false,
91 ) );
92 }
93 return $ma_el_fs;
94 }
95
96 ma_el_fs();
97 do_action( 'ma_el_fs_loaded' );
98 }
99 }
100 if ( !class_exists( '\\MasterAddons\\Master_Elementor_Addons' ) ) {
101 require_once dirname( __FILE__ ) . '/class-master-elementor-addons.php';
102 }
103 // Activation and Deactivation hooks
104 if ( class_exists( '\\MasterAddons\\Master_Elementor_Addons' ) ) {
105 register_activation_hook( __FILE__, array('\\MasterAddons\\Master_Elementor_Addons', 'jltma_plugin_activation_hook') );
106 register_deactivation_hook( __FILE__, array('\\MasterAddons\\Master_Elementor_Addons', 'jltma_plugin_deactivation_hook') );
107 }
108 // Instantiate Master Addons Class