wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/block-patterns.php › WordPress File

Functions6
Register the block patterns and block patterns categories


Function Short description
wp_normalize_remote_block_patternNormalize the pattern properties to camelCase.
_load_remote_block_patternsRegister Core's official patterns from wordpress.org/patterns.
_load_remote_featured_patternsRegister `Featured` (category) patterns from wordpress.org/patterns.
_register_core_block_patterns_and_categoriesRegisters the core block patterns and categories.
_register_remote_theme_patternsRegisters patterns from Pattern Directory provided by a theme's `theme.json` file.
_register_theme_block_patternsRegister any patterns that the active theme may provide under its `./patterns/` directory.