'ssi_render_block', ] ); } add_action( 'init', 'ssi_register_space_status_block' ); /** * Server‑side markup for the block. */ function ssi_render_block( array $attributes, string $content ) : string { // Re‑use existing helper & CSS class logic. return ssi_shortcode(); }