Skip to content

Instantly share code, notes, and snippets.

@Kodzhesyan
Last active March 5, 2023 17:19
Show Gist options
  • Save Kodzhesyan/fd4f264e95577e466de217801f556142 to your computer and use it in GitHub Desktop.
Save Kodzhesyan/fd4f264e95577e466de217801f556142 to your computer and use it in GitHub Desktop.
Отключить Гутенберг в виджетах.
<?
// Відключаємо Гутенберг в футері (віджетах)
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
add_filter( 'use_widgets_block_editor', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment