I would like to disable certain custom blocks on certain custom page edit pages.
I do not want to disable them completely, but would like to be able to load them in the template for custom posts.
I only want to control that the editor cannot select & insert a specific custom block.
Is this possible?
By the way, the method using add_filter( ‘allowed_block_types_all’) could not solve this problem, because it controls the blocks that can be used by putting them in an array, which is not suitable when there are many blocks to use.