Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer

Blocks_Parser::parsepublicWC 1.0

Parse the blocks from the document

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

Возвращает

Массив[].

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

$Blocks_Parser = new Blocks_Parser();
$Blocks_Parser->parse( $document );
$document(строка) (обязательный)
Document to parse.

Код Blocks_Parser::parse() WC 10.0.2

public function parse( $document ) {
	parent::parse( $document );
	return apply_filters( 'woocommerce_email_blocks_renderer_parsed_blocks', $this->output );
}