Question

I have this function in my theme's functions.php file:

remove_theme_support( 'core-block-patterns' );

which works great but does not remove the Query patterns. How can I include those to be removed in this function?

enter image description here

Était-ce utile?

La solution

My fix for this issue is editing the Gutenberg plugin and removing the blocks there. I have not found a way to cleanly remove them through functions.php.

Licencié sous: CC-BY-SA avec attribution
Non affilié à wordpress.stackexchange
scroll top