When using the filter sage-acf-gutenberg-blocks-templates to override the template location from views/blocks to e.g. views/gutenberg, sage_blocks_callback will still always and only look for template files inside views/blocks.
Is this by design? It definitely wasn’t what I was expecting and it took me some time to realise that, even if the block had been registered via the metadata inside a file in views/gutenberg, the template itself still had to sit inside views/blocks.
When using the filter
sage-acf-gutenberg-blocks-templates
to override the template location fromviews/blocks
to e.g.views/gutenberg
,sage_blocks_callback
will still always and only look for template files insideviews/blocks
.Is this by design? It definitely wasn’t what I was expecting and it took me some time to realise that, even if the block had been registered via the metadata inside a file in
views/gutenberg
, the template itself still had to sit insideviews/blocks
.Or am I missing something here?