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



register_block_core_navigation › WordPress Function

Since5.9.0
Deprecatedn/a
register_block_core_navigation ( No parameters )
Uses:
Defined at:
Codex:

Register the navigation block.



Source

function register_block_core_navigation() {
	register_block_type_from_metadata(
		__DIR__ . '/navigation',
		array(
			'render_callback' => 'render_block_core_navigation',
		)
	);
}