Last active
December 21, 2022 15:33
-
-
Save jeremyfelt/2991491ba5fa586ab0b70dbb76d88db3 to your computer and use it in GitHub Desktop.
Restore Shortnotes blocks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'init', function() { | |
remove_filter( 'allowed_block_types', 'ShortNotes\PostType\Note\filter_allowed_block_types' ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment