WordPress at Your Fingertips
function is not described

register_block_core_legacy_widget() WP 1.0

Registers the 'core/legacy-widget' block.

No Hooks.

Return

null. Nothing.

Usage

register_block_core_legacy_widget();

Code of register_block_core_legacy_widget() WP 5.8.2

function register_block_core_legacy_widget() {
	register_block_type_from_metadata(
		__DIR__ . '/legacy-widget',
		array(
			'render_callback' => 'render_block_core_legacy_widget',
		)
	);
}