register_block_core_image()WP 1.0

Registers the core/image block on server.

No Hooks.

Return

null. Nothing.

Usage

register_block_core_image();

Code of register_block_core_image() WP 6.1.1

function register_block_core_image() {
	register_block_type_from_metadata(
		__DIR__ . '/image',
		array(
			'render_callback' => 'render_block_core_image',
		)
	);
}