From a87ef8bd7fe56ef5c3e57fc1a6dd14545b5cd256 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 22 Nov 2023 13:48:16 +0100 Subject: [PATCH] recommenting $blocks --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 164aace..fab11cc 100644 --- a/index.php +++ b/index.php @@ -163,10 +163,10 @@ function homegrade_allowed_block_types($allowed_blocks, $editor_context) 'homegrade-content-blocks/questions-container' ); } - $blocks = WP_Block_Type_Registry::get_instance()->get_all_registered(); - write_log($blocks); return $allowed_blocks; + // $blocks = WP_Block_Type_Registry::get_instance()->get_all_registered(); + // write_log($blocks); ####ONLY DEREGISTER FEW BLOCKS // get all the registered blocks // $blocks = WP_Block_Type_Registry::get_instance()->get_all_registered();