register_block_core_shortcode()
Registers the core/shortcode block on server.
No Hooks.
Return
null
. Nothing (null).
Usage
register_block_core_shortcode();
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', ) ); }