From ed57c386db34d8693ca75311972d0929ebe5f488 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 01 Jun 2026 22:23:19 +0000
Subject: [PATCH] =Added some more Schema classes, allowed for override of array in outputSchema for complex schema, as for timeline post types
---
inc/blocks/FAQBlock.php | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/inc/blocks/FAQBlock.php b/inc/blocks/FAQBlock.php
index d16032a..90443e6 100644
--- a/inc/blocks/FAQBlock.php
+++ b/inc/blocks/FAQBlock.php
@@ -25,12 +25,6 @@
'render_callback' => [$this, 'render'],
]
);
-//
-// // Localize script data for the editor
-// add_action('enqueue_block_editor_assets', [$this, 'enqueue_editor_assets']);
-//
-// // Enqueue frontend scripts
-// add_action('wp_enqueue_scripts', [$this, 'enqueue_frontend_assets']);
}
/**
@@ -280,7 +274,7 @@
?>
<details class="faq"<?= !$collapse_by_default ? ' open' : '' ?>>
<summary><h3><b>Q</b> <?= esc_html($faq['title']) ?></h3></summary>
- <?= apply_filters('the_content', $faq['content']) ?>
+ <?= jvb_filter_content( $faq['content']) ?>
<a class="button" href="<?= $faq['url'] ?>" title="Learn More about <?=$faq['title']?>">Learn More</a>
</details>
<?php endforeach; ?>
--
Gitblit v1.10.0