PluginProbe
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder / 3.6.0
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder v3.6.0
3.6.0 3.5.0 trunk 1.0.10 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.6.1 1.0.7 1.0.8 1.0.9 1.1 1.1.1 1.2 1.3 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5 1.5.1 All 110 releases
← All changes | init.php +9 -0 3.5.03.6.0 View file →
@@ -30,8 +30,17 @@
30 30 \Buttonizer\Admin\Admin::class,
31 31 \Buttonizer\Api\Api::class
32 32 );
33 33
34 + // Serve an absorbed plugin's own system, for sites that still run it.
35 + // Before the hooks below, because the module registers its own.
36 + \Buttonizer\Migration\ModuleLoader::boot();
37 +
38 + // Absorb acquired plugins (admin only). Deliberately outside the legacy
39 + // branch: a Buttonizer install that still runs its own legacy system is
40 + // not in a position to take over another plugin's users.
41 + \Buttonizer\Migration\MigrationManager::boot();
42 +
34 43 // Google Analytics (legacy 2.x setting, buttonizer-specific)
35 44 add_action('wp_enqueue_scripts', function () {
36 45 if (Settings::isset("google_analytics")) {
37 46 wp_register_script('google_analytics', 'https://www.googletagmanager.com/gtag/js?id=' . Settings::getSetting("google_analytics"), array(), false, true);