Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks

Column::render_contentprotectedWC 1.0

Renders the block content.

Method of the class: Column{}

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)
Block content.
$parsed_block(array) (required)
Parsed block.
$rendering_context(Rendering_Context) (required)
Rendering context.

Column::render_content() code WC 10.6.2

protected function render_content( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string {
	return str_replace(
		'{column_content}',
		$this->get_inner_content( $block_content ),
		$this->get_block_wrapper( $block_content, $parsed_block, $rendering_context )
	);
}