Improve redirect handling
This commit is contained in:
@@ -17,7 +17,7 @@ final class Template {
|
||||
use Singleton;
|
||||
|
||||
protected function __construct() {
|
||||
add_action('template_redirect', [$this, 'template_redirect']);
|
||||
add_action('template_redirect', [$this, 'template_redirect'], 1);
|
||||
}
|
||||
|
||||
public function template_redirect():void {
|
||||
|
||||
Reference in New Issue
Block a user