ricardo
4/20/2020 - 11:52 AM

Gutenberg - Allowed Block Types

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'
	);
}