Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit wordpress.stackexchange
scroll top