register_block_core_shortcode()

Registers the core/shortcode block on server.


Description Description


Source Source

File: wp-includes/blocks/shortcode.php

function register_block_core_shortcode() {
	register_block_type(
		'core/shortcode',
		array(
			'render_callback' => 'render_block_core_shortcode',
		)
	);
}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.