Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remove block-templates support from Gutenberg.
// Drop the below in theme functions.php.
add_action( 'after_setup_theme', function() {
remove_theme_support( 'block-templates' );
} );
Copy link

markhowellsmead commented Nov 8, 2021

This doesn't appear to have any effect with the current Gutenberg plugin active. Is there an updated alternative?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment