Saved from https://rudrastyh.com/gutenberg/remove-default-blocks.html
add_filter( 'allowed_block_types', 'misha_allowed_block_types' ); function misha_allowed_block_types( $allowed_blocks ) { return array( 'core/image', 'core/paragraph', 'core/heading', 'core/list' ); }