diff --git a/src/AcfComposer.php b/src/AcfComposer.php index 9b1a212..825be15 100644 --- a/src/AcfComposer.php +++ b/src/AcfComposer.php @@ -207,6 +207,8 @@ protected function handleBlocks(): void return; } + add_filter('acf/blocks/template_not_found_message', fn () => ''); + method_exists($composer, 'assets') && $composer->assets($block); echo $composer->render($block, $content, $is_preview, $post_id, $wp_block, $context);