📜  禁用古腾堡编辑器 wordpress functions.php - 任何代码示例

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

代码示例1
// add to functions.php

// disable for posts
add_filter('use_block_editor_for_post', '__return_false', 10);

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