A WordPress-centric search engine for devs and theme authors



register_block_core_shortcode ›

Sincen/a
Deprecatedn/a
register_block_core_shortcode ( No parameters )
Defined at:
Codex:

Registers the `core/shortcode` block on server.



Source

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