inc/blocks/MenuBlock.php @@ -27,7 +27,7 @@ public function __construct() { $this->cache = new CacheManager('menu', WEEK_IN_SECONDS); $this->cache = CacheManager::for('menu', WEEK_IN_SECONDS); add_action('init', [ $this, 'registerBlock' ]); }