forgot to even register the shortcode
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user