Disable Core Block Patterns

October 27, 2020

Disable Core Block Patterns Plugin

This plugin will disable the Core Block Patterns, included with WordPress 5.5 (and higher versions).

This plugin will disable the Core Block Patterns, included with WordPress 5.5 (and higher versions). Even if your theme enables them, this plugin will overrule your theme and disable Core Block Patterns. It will not disable any custom or plugin Block Patterns. The plugin has no settings and should work in WordPress MU as well as single WordPress installations.

If this plugin meets your expectations and you use it commercially
please consider a donation to one of these organisations or your country’s equivalents:

Notes

Credits:

Icon in the WordPress plugin repository and found in /assets/icon* uses ‘To Build’ icon licensed under a Creative Commons Attribution 4.0 International License. Derived from the series ‘Afiado’ By Susana Passinhas

Thanks Susana Passinhas and to[icon] for sharing your work!

WordPress repository header image found in /assets:
‘A cropped elment from Fig 173 from page 359 of “Annual report of the Bureau of American Ethnology to the Secretary of the Smithsonian Institution” (1895)’. No known copyright restrictions. Cropped by BjornW.
Found via Flickr Commons – flickr.com/commons on Internet Archive.org (thanks!)

Installation

  1. Upload disable-core-block-patterns to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done!

Screenshots

  1. After pressing the Plus (+) sign to select a new block or pattern to use in the Block (Gutenberg) editor.

    After pressing the Plus (+) sign to select a new block or pattern to use in the Block (Gutenberg) editor.

  2. Selecting the Block Patterns tab which is displaying Core Block Patterns only.

    Selecting the Block Patterns tab which is displaying Core Block Patterns only.

  3. After activation of Disable Core Block Patterns, the patterns tab is gone. Note: if there are any <em>non</em> Core Block Patterns, the tab is shown including your patterns (excluding Core Block Patterns).

    After activation of Disable Core Block Patterns, the patterns tab is gone. Note: if there are any non Core Block Patterns, the tab is shown including your patterns (excluding Core Block Patterns).

Changelog

1.0.2 October 27 2020

  • Fix “Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP” warning message.
    Although the method is not used as a constructor I’ve changed the code to prevent this warning from cluttering your debug log. No functional changes.

1.0.1 October 22 2020

  • renamed WP-Disable-Core-Block-Patterns into Disable Core Block Patterns

1.0 October 19 2020

  • First release

Details

  • Version: 1.0.2
  • Active installations: 100
  • Tested up to: 5.5.15

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars