function custom_allowed_block_types($original_blocks)
{
// Alter the allowed block types:
// - Only list block types you want enabled
// - Each custom block you develop needs to be listed below
// https://rudrastyh.com/gutenberg/remove-default-blocks.html
return [
'core/block', // --> Keep reusable blocks <--
// 1. Common blocks category
//'core/heading',
//'core/paragraph',
'core/list',
'core/image',
'core/gallery',
//'core/quote',
//'core/audio',
//'core/file',
//'core/video',
// ...
];
}
add_filter('allowed_block_types', 'custom_allowed_block_types');