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.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users