Documentation

registerMetadataParser

 public static
\Bitrix\Main\UrlPreview\ParserChain::registerMetadataParser(
 string $host,
 string $parserClassName
);

Static method registers special parser for host.

Parameters

ParameterDescriptionVersion
$hostHost
$parserClassNameParser class - extension \Bitrix\Main\UrlPreview\Parser

Example



© «Bitrix24», 2001-2022
Up