From 2042ae137a981cd505ab0c3956f0798e7fd7464d Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Wed, 7 May 2025 20:44:08 -0700 Subject: [PATCH] better singleton instance --- functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.php b/functions.php index 141adf8..de4e3a7 100644 --- a/functions.php +++ b/functions.php @@ -9,3 +9,4 @@ function site(): Site { return Site::getInstance(); } +add_action('init', 'site');