Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks
Abstract_Block_Renderer::render_content
Render the block content.
Method of the class: Abstract_Block_Renderer{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->render_content( $block_content, $parsed_block, $rendering_context ): string;
- $block_content(string) (required)
- The block content.
- $parsed_block(array) (required)
- The parsed block.
- $rendering_context(Rendering_Context) (required)
- The rendering context.
Abstract_Block_Renderer::render_content() Abstract Block Renderer::render content code WC 10.5.0
abstract protected function render_content( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string;