From 1aa7c404dae63c9518468fe9b579fad819f8d871 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 13 Sep 2026 18:32:43 +0000
Subject: [PATCH] =Single Event page setup done through the new Event block. Currently working on the Simple Calendar block setup

---
 inc/managers/DirectoryManager.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/managers/DirectoryManager.php b/inc/managers/DirectoryManager.php
index 4f46e0f..4f4b009 100644
--- a/inc/managers/DirectoryManager.php
+++ b/inc/managers/DirectoryManager.php
@@ -37,8 +37,8 @@
 		jvb_register_do_once('buildDirectories', [$this, 'activate']);
 		add_action('init', [$this, 'registerDirectories']);
         add_filter('pre_render_block', [$this, 'renderBlock'], 20, 3);
-		add_action('save_post', [$this, 'flushCache']);
-		add_action('edit_terms', [$this, 'flushCache']);
+		add_action('save_post', [$this, 'flushPostCache']);
+		add_action('edit_terms', [$this, 'flushPostCache']);
     }
 
 	public function flushPostCache(int $postID):void

--
Gitblit v1.10.0