How to disable a Block

[ad_1]

Hi Guys,
Looking for some insight – i’m trying to remove some blocks via the

allowed_block_types_all

filter.
But it’s always coming up as a bool. How would i go removing specific blocks – need to do this as I want this particular block to only be available to the template editor and not other post types.
Thanks in advance.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer