Category: WordPress Full Site Editing
-
Disable Gutenberg (Block Editor)
Totally disable Gutenberg in whole site Disable Gutenberg in specific Post type.
-
Gutenberg List all Blocks
If you want to get list of all blocks then you can use getBlockTypes from block store. We can use @wordpress/blocks package to retrieve block store. useSelect hook from @wordpress/data package will be used to access getBlockTypes function from block store. It can only be used in a component. Here is an example