سؤال

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

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى wordpress.stackexchange
scroll top