forgot to even register the shortcode

This commit is contained in:
2026-01-29 21:28:53 +01:00
parent bb71bca495
commit 783b7dacb9

View File

@@ -41,9 +41,10 @@ class Partnerexpo_Core_Public {
$this->plugin_name = $plugin_name; $this->plugin_name = $plugin_name;
$this->version = $version; $this->version = $version;
add_shortcode( 'partnerexpo_searchbox', [ $this, 'searchbox_shortcode' ] );
} }
private function searchbox_shortcode() { public function searchbox_shortcode() {
global $searchbox_used; global $searchbox_used;
$searchbox_used = true; $searchbox_used = true;