The Block Manager is an intuitive tool for site admins to globally remove blocks and block patterns. It also provides functionality for updating the category of individual blocks to help organize the admin editing experience.
Features
- Blocks: Globally disable blocks from being displayed in the Block Inserter and Block Editor.
- Patterns: Remove unwanted block patterns with the click of a button.
- Block Categories: Organize the Block Inserter by updating the category of each block.
- Hooks: Use hooks to remove blocks and patterns from
functions.php. - Search and Filter: Quickly locate blocks and patterns with the search functionality in the sidebar.
- Embed Blocks: Choose the Embed blocks you actually want to include on your site by removing the vast majority of useless options.
Hooks & Filters
Use Block Manager hooks to controls blocks via code and sync options across multiple WordPress environments.
gbm_disabled_blocks
Use the gbm_disabled_blocks hook to remove blocks via backend code.
gbm_disabled_patterns
Use the gbm_disabled_patterns hook to remove block patterns via backend code.
gbm_block_categories
Use the gbm_block_categories hook to update block categories via backend code.
block_manager_user_role
Update the minimum user role allowed to access the Block Manager plugin.

评论0