📜  为页面功能禁用古腾堡 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:31.580000             🧑  作者: Mango

代码示例1
// disable for posts
add_filter('use_block_editor_for_post', '__return_false', 100);

// disable for post types
add_filter('use_block_editor_for_post_type', '__return_false', 100);