Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer
Blocks_Parser::parse
Parse the blocks from the document
Метод класса: Blocks_Parser{}
Хуки из метода
Возвращает
Массив[].
Использование
$Blocks_Parser = new Blocks_Parser(); $Blocks_Parser->parse( $document );
- $document(строка) (обязательный)
- Document to parse.
Код Blocks_Parser::parse() Blocks Parser::parse WC 10.8.1
public function parse( $document ) {
parent::parse( $document );
return apply_filters( 'woocommerce_email_blocks_renderer_parsed_blocks', $this->output );
}