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



register_block_core_gallery › WordPress Function

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

Registers the `core/gallery` block on server.



Source

function register_block_core_gallery() {
	register_block_type_from_metadata(
		__DIR__ . '/gallery',
		array(
			'render_callback' => 'block_core_gallery_render',
		)
	);
}