Manage Available Patterns

Hide the block patterns you never use so the inserter only shows the ones you want.

Lauren Gray Avatar

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_options capability)

Install

  1. In your WordPress dashboard, go to Plugins → Add New Plugin.
  2. Click Upload Plugin.
  3. Choose the plugin zip file.
  4. Click Install Now.
  5. Click Activate.

How to use

Hide patterns from the inserter

  1. In your dashboard sidebar, click Patterns. It’s a top-level menu item with a layout icon.
  2. You’ll see the Manage Available Patterns screen with a checkbox for every registered pattern. Checked means the pattern is available.
  3. Uncheck each pattern you want to hide. Use Search patterns… to filter the list by pattern title.
  4. 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.