'forwp-seo-techarticle-steps', 'supports' => Release::block_inserter_supports(), 'render_callback' => [ $this, 'render_steps_block' ], ] ); register_block_type( self::STEP_BLOCK_NAME, [ 'editor_script' => 'forwp-seo-techarticle-steps', 'supports' => Release::block_inserter_supports(), 'render_callback' => [ $this, 'render_step_block' ], ] ); } public function render_steps_block( array $attributes, string $content ): string { if ( '' === trim( $content ) ) { return ''; } return '
' . wp_kses_post( $content ) . '
'; } public function render_step_block( array $attributes, string $content ): string { if ( '' === trim( $content ) ) { return ''; } return '
' . wp_kses_post( $content ) . '
'; } }