PluginProbe
Elementor Website Builder – more than just a page builder / 3.13.2
Elementor Website Builder – more than just a page builder v3.13.2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/maintenance.php +1 -9 4.2.0-dev23.13.2 View file →
@@ -24,9 +24,8 @@
24 24 * Set Elementor activation hook.
25 25 *
26 26 * Fired by `register_activation_hook` when the plugin is activated.
27 27 *
28 - * @param bool $network_wide
29 28 * @since 1.0.0
30 29 * @access public
31 30 * @static
32 31 */
@@ -65,12 +64,8 @@
65 64 }
66 65 }
67 66 }
68 67
69 - public static function deactivation() {
70 - Api::get_deactivation_data();
71 - }
72 -
73 68 /**
74 69 * Uninstall Elementor.
75 70 *
76 71 * Set Elementor uninstallation hook.
@@ -82,10 +77,8 @@
82 77 * @static
83 78 */
84 79 public static function uninstall() {
85 80 wp_clear_scheduled_hook( 'elementor/tracker/send_event' );
86 -
87 - Api::get_uninstalled_data();
88 81 }
89 82
90 83 /**
91 84 * Init.
@@ -97,9 +90,8 @@
97 90 * @static
98 91 */
99 92 public static function init() {
100 93 register_activation_hook( ELEMENTOR_PLUGIN_BASE, [ __CLASS__, 'activation' ] );
101 - register_deactivation_hook( ELEMENTOR_PLUGIN_BASE, [ __CLASS__, 'deactivation' ] );
102 94 register_uninstall_hook( ELEMENTOR_PLUGIN_BASE, [ __CLASS__, 'uninstall' ] );
103 95
104 96 add_action( 'wpmu_new_blog', function ( $site_id ) {
105 97 if ( ! is_plugin_active_for_network( ELEMENTOR_PLUGIN_BASE ) ) {
@@ -120,9 +112,9 @@
120 112
121 113 Manager::create_default_kit();
122 114
123 115 restore_current_blog();
124 - }
116 + };
125 117
126 118 return;
127 119 }
128 120