register_block_core_search

Advertisement

Summery Summery

Registers the core/search block on the server.

Syntax Syntax

register_block_core_search()

Source Source

File: wp-includes/blocks/search.php

function register_block_core_search() {
	register_block_type_from_metadata(
		__DIR__ . '/search',
		array(
			'render_callback' => 'render_block_core_search',
		)
	);
}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.