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



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

Functions5
Register the block patterns and block patterns categories


Function Short description
_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. Each pattern is defined as a PHP file and defines its metadata using plugin-style headers. The minimum required definition is: