From 783b7dacb9f004cbeae99f96d6f82b1b2dda969b Mon Sep 17 00:00:00 2001 From: Duskell Date: Thu, 29 Jan 2026 21:28:53 +0100 Subject: [PATCH] forgot to even register the shortcode --- public/class-partnerexpo-core-public.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/class-partnerexpo-core-public.php b/public/class-partnerexpo-core-public.php index 75d6fd2..645c3ee 100644 --- a/public/class-partnerexpo-core-public.php +++ b/public/class-partnerexpo-core-public.php @@ -41,9 +41,10 @@ class Partnerexpo_Core_Public { $this->plugin_name = $plugin_name; $this->version = $version; + add_shortcode( 'partnerexpo_searchbox', [ $this, 'searchbox_shortcode' ] ); } - private function searchbox_shortcode() { + public function searchbox_shortcode() { global $searchbox_used; $searchbox_used = true;