register_block_core_archives

Advertisement

Summery Summery

Register archives block.

Syntax Syntax

register_block_core_archives()

Source Source

File: wp-includes/blocks/archives.php

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

Advertisement

Advertisement

Leave a Reply

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