dimitriskl

Sociality Settings

Dec 3rd, 2021 (edited)
786
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Deactivate Gutenberg
  2. add_filter('use_block_editor_for_post', '__return_false', 10);
  3.  
  4. // Deactivate new widgets display
  5. add_filter('gutenberg_use_widgets_block_editor', 'return_false');
  6. add_filter('use_widgets_block_editor', 'return_false');
RAW Paste Data