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_pattern | Normalize the pattern properties to camelCase. |
_load_remote_block_patterns | Register Core's official patterns from wordpress.org/patterns. |
_load_remote_featured_patterns | Register `Featured` (category) patterns from wordpress.org/patterns. |
_register_core_block_patterns_and_categories | Registers the core block patterns and categories. |
_register_remote_theme_patterns | Registers patterns from Pattern Directory provided by a theme's `theme.json` file. |
_register_theme_block_patterns | Register any patterns that the active theme may provide under its `./patterns/` directory. |