diff --git a/src/Blocks.php b/src/Blocks.php index f8888905..a12cb539 100644 --- a/src/Blocks.php +++ b/src/Blocks.php @@ -86,12 +86,6 @@ public function __construct( public function boot(): void { $this->hookMethods(); - - // Temporary fix for Gutenberg 18.1+ bypassing `render_block` - // when calling the Pattern block. - // @link https://github.com/x3p0-dev/x3p0-ideas/issues/12 - remove_filter( 'get_block_templates', 'gutenberg_replace_pattern_blocks_get_block_templates' ); - remove_filter( 'get_block_template', 'gutenberg_replace_pattern_blocks_get_block_template' ); } /**