register_block_core_query()WP 1.0

Registers the core/query block on the server.

Хуков нет.

Возвращает

null. Ничего (null).

Использование

register_block_core_query();

Код register_block_core_query() WP 6.5.3

function register_block_core_query() {
	register_block_type_from_metadata(
		__DIR__ . '/query',
		array(
			'render_callback' => 'render_block_core_query',
		)
	);
}