Disable Gutenberg

PHOTO EMBED

Fri May 07 2021 18:33:50 GMT+0000 (UTC)

Saved by @Alz #php #wordpress

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

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