'has-text-align-' . $attributes['textAlign'] ) : array(); $wrapper_attributes = get_block_wrapper_attributes( $extra_attributes ); return '
' . term_description() . '
'; } /** * Registers the `core/term-description` block on the server. */ 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 );