<?php 
namespace theme\functions\theme_setup;

/* -----------------------------------------------
   Gutenberg abstellen
   -----------------------------------------------
	stellt für Posts oder Pages den Gutenberg
	Editor ab.
*/

// disable for posts
//add_filter('theme\functions\theme_setup\use_block_editor_for_post', '__return_false', 10);

// disable for pages
add_filter('theme\functions\theme_setup\use_block_editor_for_page', '__return_false', 10);