-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide 'Add to Reusable Blocks' button when 'core/block' is disabled (#…
…10493) * Hide 'Add to Reusable Blocks' button when 'core/block' is disabled Hides the 'Add to Reusable Block' buton when 'core/block' is not in the array returned by the `allowed_block_types` filter. * Add comment explaining existing every() check
- Loading branch information
1 parent
7ab36ba
commit 6e381ed
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters