[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Used to set up all core blocks used with the block editor.
File Size: | 177 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 5 files wp-includes/blocks/require-static-blocks.php wp-includes/blocks/widget-group.php wp-includes/blocks/require-dynamic-blocks.php wp-includes/blocks/legacy-widget.php wp-includes/blocks/blocks-json.php |
register_core_block_style_handles() X-Ref |
Registers core block style handles. While {@see register_block_style_handle()} is typically used for that, the way it is implemented is inefficient for core block styles. Registering those style handles here avoids unnecessary logic and filesystem lookups in the other function. |
register_core_block_types_from_metadata() X-Ref |
No description |
wp_register_core_block_metadata_collection() X-Ref |
Registers the core block metadata collection. This function is hooked into the 'init' action with a priority of 9, ensuring that the core block metadata is registered before the regular block initialization that happens at priority 10. |
Generated : Sat Dec 21 08:20:01 2024 | Cross-referenced by PHPXref |