How to disable block editor in WordPress 5.0 − Tutorials − Dev4Press Blog

Simple PHP code to disable Block EditorIf you prefer to add few lines of code (to the functions.php of the theme, or some other place), here is the example on how to disable Block Editor completely, for all post types: add_filter(‚use_block_editor_for_post_type‘, ‚d4p_32752_completly_disable_block_editor‘); function d4p_32752_completly_disable_block_editor($use_block_editor) { return false; }

Quelle: How to disable block editor in WordPress 5.0 − Tutorials − Dev4Press Blog