Hello,
I’m using the following code to disable the block patterns in a GP (3.1.3) child theme without activating the Premium plugin yet. It does not work in the child theme but if I paste the code in the parent GP 3.1.3 functions.php file it works. What I should check to find out what could be interfering?
/* Disable all default block patterns from block editor library */
function gpc_disable_block_patterns() {
remove_theme_support( 'core-block-patterns' );
}
add_action( 'after_setup_theme', 'gpc_disable_block_patterns' );
Thank you.