register_block_core_shortcode

Advertisement

Summery Summery

Registers the core/shortcode block on server.

Syntax Syntax

register_block_core_shortcode()

Source Source

File: wp-includes/blocks/shortcode.php

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

Advertisement

Advertisement

Leave a Reply