Manage Available Patterns gives you one screen to hide the block patterns you never use, so the inserter only shows the ones you want. Changed your mind? Bring any pattern back with a single checkbox.
Before you start
- WordPress 5.8.3 or later
- PHP 7.3 or later
- An administrator account (the screen requires the
manage_optionscapability)
Install
- In your WordPress dashboard, go to Plugins → Add New Plugin.
- Click Upload Plugin.
- Choose the plugin zip file.
- Click Install Now.
- Click Activate.
How to use
Hide patterns from the inserter
- In your dashboard sidebar, click Patterns. It’s a top-level menu item with a layout icon.
- You’ll see the Manage Available Patterns screen with a checkbox for every registered pattern. Checked means the pattern is available.
- Uncheck each pattern you want to hide. Use Search patterns… to filter the list by pattern title.
- Click Save Changes.
When the save goes through, you’ll see “Patterns are updated successfully!” at the top of the screen.
Bring a pattern back
Hidden patterns stay in the list, unchecked. Check the box again and click Save Changes.
Developer reference
Coming soon: the hooks, filters and functions you can use with this plugin from your theme or a code snippet.
FAQs
Which patterns show up in the list?
The list shows patterns registered with WordPress by your theme, your plugins and WordPress core. Patterns you create yourself in the editor (synced or unsynced patterns saved to your site) aren’t part of that list.
Where are hidden patterns removed?
Hidden patterns are removed from what the block editor loads, so they no longer appear in the inserter. Nothing is deleted: the theme or plugin that registered them is untouched.