Table of Contents
Possibility to change the block render template path for https://lazyblocks.com/documentation/blocks-code/theme-template/.
Used in combination with https://lazyblocks.com/documentation/php-filters/lzb-block_render-include_template/
Attributes
$template
block output string$attributes
block attributes$block
block data$context
rendering context [editor, frontend]
Additional Filters
lazyblock/BLOCK_SLUG/frontend_template_exists
– specific block in the frontend onlylazyblock/BLOCK_SLUG/editor_template_exists
– specific block in the editor onlylazyblock/BLOCK_SLUG/template_exists
– specific block only