I recently Updated WordPress to 5.2.2 and I want to disable Gutenberg editor from network. By this way, I do not need to go into each sites and disable one by one.
I have already installed Disable Gutenberg plugin but this plugin would not show any relevant option to disable through the network level.
I recently Updated WordPress to 5.2.2 and I want to disable Gutenberg editor from network. By this way, I do not need to go into each sites and disable one by one.
I have already installed Disable Gutenberg plugin but this plugin would not show any relevant option to disable through the network level.
Share Improve this question edited Aug 20, 2019 at 3:22 princeexpedition asked Aug 19, 2019 at 22:03 princeexpeditionprinceexpedition 237 bronze badges1 Answer
Reset to default 0You can programmatically disable Gutenberg network-wide by adding a must-use plugin containing this code:
<?php
add_filter( 'use_block_editor_for_post', '__return_false' );
References
- Must-Use Plugins
use_block_editor_for_post
filter__return_false()
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745221474a4617269.html
评论列表(0条)