From 657497fa21769277f4035ccf36a679fad5813666 Mon Sep 17 00:00:00 2001 From: Joakim Vindgard Date: Wed, 14 Jun 2023 11:16:15 +0200 Subject: [PATCH] fix: load SP as normal plugin --- sp-control.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sp-control.php b/sp-control.php index ccf0dde0..0b020366 100644 --- a/sp-control.php +++ b/sp-control.php @@ -570,4 +570,7 @@ function SP() { } # Get the SimplePress instance Running -SP(); +//SP(); + +// Initiate Simple:Press after plugins are loaded. Priority is set to load early +add_action('plugins_loaded', 'SP', 1); \ No newline at end of file