Blocks not allowed for a post type are shown in the Pattern directory #24505
Labels
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
[Type] Bug
An existing feature does not function as intended
Describe the bug
Blocks types that are not allowed using the
allowed_block_types
filters are still shown in the Pattern directory.To reproduce
Steps to reproduce the behavior:
allowed_block_types
filter.Expected behavior
Since I'm only allowing custom blocks that I built myself in my post type, the pattern directory should be empty because I haven't added any patterns that use my block.
Editor version (please complete the following information):
The text was updated successfully, but these errors were encountered: