Skip to content

Instantly share code, notes, and snippets.

@alexmustin
Created April 5, 2022 05:48
Show Gist options
  • Save alexmustin/cb786ccddb2a902d5bced1ab384be021 to your computer and use it in GitHub Desktop.
Save alexmustin/cb786ccddb2a902d5bced1ab384be021 to your computer and use it in GitHub Desktop.
WordPress: Enable the Block-based Widget Editor
<?php
//* Enable the block-based widget editor
add_filter( 'use_widgets_block_editor', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment