禁用古腾堡

2021-12-09 Wordpress 144
//禁用古腾堡
add_filter('use_block_editor_for_post', '__return_false');
remove_action( 'wp_enqueue_scripts', 'wp_common_block_scripts_and_styles' );