Hide WordPress’s own block patterns
Removes the patterns that come with WordPress itself from the inserter. Your theme’s and your own patterns stay.
<?php
add_action(
'after_setup_theme',
static function () {
remove_theme_support( 'core-block-patterns' );
},
20
);
In these packs
- Posts and the editor: Make the block editor calmer and give pages excerpts, tags and categories.