block-patterns.php
File: inc/block-patterns.php Theme: Shared Block Pattern Functions
Handles pattern category registrations and core pattern overrides for block themes.
Table of Contents
Functions
- register_additional_pattern_categories() : void
- Registers additional block pattern categories for NicheWP products.
- remove_core_block_patterns() : void
- Removes core WordPress block patterns so they do not clutter the editor design tab.
Functions
register_additional_pattern_categories()
Registers additional block pattern categories for NicheWP products.
register_additional_pattern_categories() : void
remove_core_block_patterns()
Removes core WordPress block patterns so they do not clutter the editor design tab.
remove_core_block_patterns() : void