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

Social_Link::render_contentprotectedWC 1.0

Renders the block content.

Method of the class: Social_Link{}

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.

Social_Link::render_content() code WC 10.4.3

protected function render_content( $block_content, array $parsed_block, Rendering_Context $rendering_context ): string {
	// We are not using this because the blocks are rendered in the Social_Links block class.
	return $block_content;
}