PluginProbe
Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder & Template Kits / 2.0.8.7
Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder & Template Kits v2.0.8.7
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.8.7, at master-addons.php

105 lines 4.1 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.8.7
9 * Author URI: https://master-addons.com
10 * Text Domain: master-addons
11 * Domain Path: /languages
12 * Elementor tested up to: 3.30.2
13 * Elementor Pro tested up to: 3.30.2
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 // require_once __DIR__ . '/vendor/autoload.php';
52 if ( function_exists( 'ma_el_fs' ) ) {
53 ma_el_fs()->set_basename( false, __FILE__ );
54 } else {
55 if ( !function_exists( 'ma_el_fs' ) ) {
56 // Create a helper function for easy SDK access.
57 function ma_el_fs() {
58 global $ma_el_fs;
59 if ( !isset( $ma_el_fs ) ) {
60 // Activate multisite network integration.
61 if ( !defined( 'WP_FS__PRODUCT_4015_MULTISITE' ) ) {
62 define( 'WP_FS__PRODUCT_4015_MULTISITE', true );
63 }
64 // Include Freemius SDK.
65 require_once dirname( __FILE__ ) . '/lib/freemius/start.php';
66 $ma_el_fs = fs_dynamic_init( array(
67 'id' => '4015',
68 'slug' => 'master-addons',
69 'premium_slug' => 'master-addons-pro',
70 'type' => 'plugin',
71 'public_key' => 'pk_3c9b5b4e47a06288e3500c7bf812e',
72 'premium_suffix' => 'Pro',
73 'has_affiliation' => 'selected',
74 'has_addons' => false,
75 'has_paid_plans' => true,
76 'is_org_compliant' => true,
77 'menu' => array(
78 'slug' => 'master-addons-settings',
79 'first-path' => 'admin.php?page=master-addons-settings',
80 'contact' => false,
81 'affiliation' => false,
82 'support' => true,
83 'pricing' => true,
84 ),
85 'trial' => false,
86 'is_live' => true,
87 'is_premium' => false,
88 ) );
89 }
90 return $ma_el_fs;
91 }
92
93 ma_el_fs();
94 do_action( 'ma_el_fs_loaded' );
95 }
96 }
97 if ( !class_exists( '\\MasterAddons\\Master_Elementor_Addons' ) ) {
98 require_once dirname( __FILE__ ) . '/class-master-elementor-addons.php';
99 }
100 // Activation and Deactivation hooks
101 if ( class_exists( '\\MasterAddons\\Master_Elementor_Addons' ) ) {
102 register_activation_hook( __FILE__, array('\\MasterAddons\\Master_Elementor_Addons', 'jltma_plugin_activation_hook') );
103 register_deactivation_hook( __FILE__, array('\\MasterAddons\\Master_Elementor_Addons', 'jltma_plugin_deactivation_hook') );
104 }
105 // Instantiate Master Addons Class