recommenting $blocks
This commit is contained in:
parent
8f052556fb
commit
a87ef8bd7f
|
|
@ -163,10 +163,10 @@ function homegrade_allowed_block_types($allowed_blocks, $editor_context)
|
||||||
'homegrade-content-blocks/questions-container'
|
'homegrade-content-blocks/questions-container'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$blocks = WP_Block_Type_Registry::get_instance()->get_all_registered();
|
|
||||||
write_log($blocks);
|
|
||||||
return $allowed_blocks;
|
return $allowed_blocks;
|
||||||
|
|
||||||
|
// $blocks = WP_Block_Type_Registry::get_instance()->get_all_registered();
|
||||||
|
// write_log($blocks);
|
||||||
####ONLY DEREGISTER FEW BLOCKS
|
####ONLY DEREGISTER FEW BLOCKS
|
||||||
// get all the registered blocks
|
// get all the registered blocks
|
||||||
// $blocks = WP_Block_Type_Registry::get_instance()->get_all_registered();
|
// $blocks = WP_Block_Type_Registry::get_instance()->get_all_registered();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user