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

Abstract_Block_Renderer::render_content │ protected │ WC 1.0

Render the block content.

Метод класса: Abstract_Block_Renderer{}

Хуков нет.

Возвращает

string.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->render_content( $block_content, $parsed_block, $rendering_context ): string;
$block_content(строка) (обязательный)
The block content.
$parsed_block(массив) (обязательный)
The parsed block.
$rendering_context(Rendering_Context) (обязательный)
The rendering context.

Код Abstract_Block_Renderer::render_content() WC 11.2.1

abstract protected function render_content( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string;