From 894ec8a6f2ac62edbac7b3b6a88e3666f335c673 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 15 May 2026 15:08:42 +0000
Subject: [PATCH] =Refactor of CustomBlocks.php to move a majority of the logic to the pre_render_field instead of render_field, and adding support for more blocks
---
inc/helpers/all.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/inc/helpers/all.php b/inc/helpers/all.php
index 9d59203..67d79fe 100644
--- a/inc/helpers/all.php
+++ b/inc/helpers/all.php
@@ -54,6 +54,8 @@
// delete_option(BASE.'do_these_once');
//Ensure we have the option starting with BASE
$option = jvbCheckBase($option);
+// delete_option($option);
+// delete_option(BASE.'do_these_once');
$options = get_option(BASE.'do_these_once', []);
// delete_option($option);
if (!array_key_exists($option, $options)) {// Prevent concurrent runs
--
Gitblit v1.10.0