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



register_block_core_archives › WordPress Function

Sincen/a
Deprecatedn/a
register_block_core_archives ( No parameters )
Defined at:
Codex:

Register archives block.



Source

function register_block_core_archives() {
	register_block_type_from_metadata(
		__DIR__ . '/archives',
		array(
			'render_callback' => 'render_block_core_archives',
		)
	);
}