| | |
| | | { |
| | | // Initialize cache with connections |
| | | $this->cache = CacheManager::for('feed_block', WEEK_IN_SECONDS); |
| | | $this->cache->clear(); |
| | | // Set up cache connections for all feed content types |
| | | $this->setupCacheConnections(); |
| | | if (JVB_TESTING) { |
| | | $this->cache->clear(); |
| | | } |
| | | |
| | | add_action('init', [$this, 'registerBlock']); |
| | | } |
| | |
| | | echo TaxonomySelector::outputSelectorModal(); |
| | | ?> |
| | | </section> |
| | | <footer><button data-action="refresh" data-ignore><?=jvbIcon('arrows-clockwise')?><span>Hard Refresh</span></span></button></footer> |
| | | <?php |
| | | return ob_get_clean(); |
| | | } |