How to remove/disable individual blocks?
-
In the past, when individual Jetpack features were separate modules, there was a (relatively) simple way to disable individual parts. (hooking into
jetpack_get_available_modulesand unsetting elements of$modules)What is the “correct” way to remove/disable new blocks? In my case, I wish to make the new Donations block inaccessible to users. Google isn’t being very helpful this morning — almost everything related to “disable blocks” is for disabling the block editor entirely, which is not what I want to do. I just need to disable an individual block.
(Related: Does jetpack.com have a canonical list of the different blocks and modules, and their internal names, for when I need to disable different parts?)
The topic ‘How to remove/disable individual blocks?’ is closed to new replies.