function gutenberg_register_block_core_search in Gutenberg 8.2
Same name and namespace in other branches
- 8 vendor/gutenberg/block-library/blocks/search.php \gutenberg_register_block_core_search()
Registers the `core/search` block on the server.
1 string reference to 'gutenberg_register_block_core_search'
- search.php in vendor/
gutenberg/ block-library/ blocks/ search.php
File
- vendor/
gutenberg/ block-library/ blocks/ search.php, line 69
Code
function gutenberg_register_block_core_search() {
register_block_type_from_metadata(__DIR__ . '/search', array(
'render_callback' => 'gutenberg_render_block_core_search',
));
}