You can disable all “experimental block patterns” including the query block patterns by adding a filter:
add_action( 'init', function() {
add_filter(
'block_editor_settings_all',
function ($editor_settings) {
$editor_settings['__experimentalBlockPatterns'] = [];
return $editor_settings;
}
);
});
You can see all editor settings (that you could disable with this filter) in this comment: https://developer.wordpress.org/reference/hooks/block_editor_settings_all/#comment-5661
Related Posts:
- Help Unregistering a Core Block Type in Gutenberg
- How do I get the current post ID within a Gutenberg/Block Editor block?
- Disable device preview options in the block editor
- Get the current block ID
- How do you use __experimentalLayout to give innerblocks alignment control and default layout?
- WordPress Value of Undefined in Admin
- Modify the core/paragraph block
- WordPress Gutenberg blocks: Input fields are not editable
- What’s the recommended Gutenberg component for adding a URL, in the toolbar/sidebar?
- Uncaught TypeError: wp.apiFetch is not a function
- how to get a more significant error response from ServerSideRender
- Align a custom block button by wrapping it in div
- Using applyFormat (from @wordpress/rich-text) to make persistent changes to Gutenberg’s rich text value
- Block validation: Block validation failed for `my-block`
- How to render core component inside edit() within custom registered block in Gutenberg?
- Modify Core Block Default Attributes
- How to set defaults for Border controls in custom block
- Compatability of gutenberg block in older WordPress version
- Find all the places where a block type is used
- WordPress PluginSidebar, TextControl setting and saving the default value
- How can I dynamically wrap in a Gutenberg block?
- Modifying the Gutenberg Button Block
- Style Gutenberg metaboxes like they belong on the site
- How to get featured_media of a post with getEntityRecords?
- How to grab posts in Gutenberg Block?
- How can I access the attributes of a block within InnerBlocks?
- How to avoid duplicate dependencies in Gutenberg blocks
- How to update a Gutenberg block without manually recovering it?
- Gutenberg Dynamic Block not Storing Attributes
- Is it possible to access the wp-admin from one instance while keeping WP_HOME pointing to the balancing url?
- Show pasted link text with diacritics not encoded
- How to Add predefined CSS Classes to a Block using Gutenberg
- Updating a block’s edit / save without reinventing the wheel
- Gutenberg block missing classes inside editor
- Custom dynamic Gutenberg block not rendering
- How to get an array of custom blocks by block name
- How do I addFilter to core/paragraph to add an attribute and see the change in the editor?
- How to register a embed handler as a fallback to a oEmbed handler?
- Performance of Gutenberg block attributes with source selectors vs without
- What version of React does Gutenberg use?
- Block background color not appearing on site
- For developers, what impact can we expect Gutenberg to have on the loop?
- Why is an argument of onChange nested in … in Gutenberg custom block RichText?
- Gutenberg: Heading with subheading/paragraph
- Change label text in Gutenberg’s built in excerpt panel
- Gutenberg: How filter blocks of a certain type with parse_blocks recursively?
- Gutenberg add checkbox using PluginPostStatusInfo
- How to view all currently registered block patterns?
- How do I activate a certain block template only when editing the front page?
- LinkControl – how to toggle opensInNewTab
- Block editor — how to remove default classes
- Code block treats characters not being escaped
- Strange effect when I scroll in the editor
- Creating a custom slider block from InnerBlocks using React Slick
- Alter core block’s DOM – in both output AND editor
- ServerSideRender not rendering in block editor, but output is in “apiFetch”
- Can you disable typography panels for just the paragraph block?
- I cant find the custom html block
- Gutenberg allow use of block, but hide it from the block picker
- I am working with gutenberg blocks, specially a slider block. I wish to show the excerpt content from a custom api to the backend as well as frontend
- WordPress Gutemberg RichText FormatType no wrap with tagName
- Keyboard shortcut to format text as superscript or subscript
- How to add custom HTML tags in the visual mode via keyboard only?
- Add page title after first block
- Save JSON data with Gutenberg and show it in the content
- Gutenberg Blocks – Save a predefined text attribute?
- Adding a size to core/image in an innerblocks breaks the save
- Can I add custom code to gutenberg auto save?
- Changing block quote size in gutenberg
- How to get the revisions feature back on the classic editor?
- how to use a Text component in javascript?
- How to nest a list inside a blockquote using the Gutenberg block-editor?
- Is there an obvious error in this React code for customizing a Gutenberg Block?
- Two content editors (gutenberg blocks) on the same page
- Gutenberg custom block: RichText underline button
- Expose Gutenberg blocks in Post Revisions API endpoint
- How to wrap Gutenberg blocks into a custom container (without using HTML blocks)?
- DateTimePicker script and style missing?
- Gutenberg pass properties to filter
- How to remove multiple blocks of Gutenberg at the same time?
- Gutenberg blocks – only allow as innerblock
- Pullquote Block Styles disappeared?
- Using useSelect creates “minified React error”
- How do I reinstate the “Add Block” feature that changes with the update?
- Is it possible to consume context from a parent block and update it from within a child block?
- Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined
- WordPress “HTML editor” which doesn’t trash hand-coded HTML?
- How to force package.json to create build some files?
- How to modify array of object in Gutenberg (block/editor)?
- fetch more than 100 records in block editor API call
- How can I deprecate an old version of my custom Gutenberg block, but keep the new version?
- register_block_type – no block available in block editor
- Block development: how to bump version on generated css files?
- Full Site Editing (FSE) – How do I display no results with wp:query?
- Dealing with unknown option ‘–variant’ when setting up a block environment
- Localising a Block
- WordPress.org UI: How do you make Bulleted/Numbered Lists indent by default?
- Unable to remove panels
- Is there a way to delete “wp-block-group__inner-container” div from the gutenberg editor view?
- Gallery Block in template, validation fails after adding column number