From a1de2f7be1362bc9dab6d0ac85c06ff82e58d47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytis=20Bulkevi=C4=8Dius?= Date: Tue, 24 Nov 2026 00:23:49 +0200 Subject: [PATCH] feat(support): opt into the Themeisle SDK Support Hub Register the _support_hub_metadata filter so the shared Themeisle SDK Support Hub is enabled for this plugin, mirroring _ai_connect_metadata. Free plugin, so is_pro is false. Development ships SDK 3.3.72. --- wp-maintenance-mode.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/wp-maintenance-mode.php b/wp-maintenance-mode.php index 153306f4..ab8bbb92 100755 --- a/wp-maintenance-mode.php +++ b/wp-maintenance-mode.php @@ -111,6 +111,22 @@ function () { } ); +add_filter( + 'wp_maintenance_mode_support_hub_metadata', + function () { + return array( + 'is_pro' => false, + 'links' => array( + array( + 'icon' => 'groups', + 'text' => __( 'Community Forum', 'wp-maintenance-mode' ), + 'url' => 'https://wordpress.org/support/plugin/wp-maintenance-mode/', + ), + ), + ); + } +); + /** * Filter products array. *