register_block_core_shortcode()WP 1.0

Registers the core/shortcode block on server.

No Hooks.

Return

null. Nothing (null).

Usage

register_block_core_shortcode();

register_block_core_shortcode() code WP 6.5.2

function register_block_core_shortcode() {
	register_block_type_from_metadata(
		__DIR__ . '/shortcode',
		array(
			'render_callback' => 'render_block_core_shortcode',
		)
	);
}