implode( ' ', $classes ) ) ); return '
' . $term_description . '
'; } /** * Registers the `core/term-description` block on the server. * * @since 5.9.0 */ function gutenberg_register_block_core_term_description() { register_block_type_from_metadata( __DIR__ . '/term-description', array( 'render_callback' => 'gutenberg_render_block_core_term_description', ) ); } add_action( 'init', 'gutenberg_register_block_core_term_description', 20 );