Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\XPath
Translator::registerParserShortcut
Метод класса: Translator{}
Хуков нет.
Возвращает
$this.
Использование
$Translator = new Translator(); $Translator->registerParserShortcut( $shortcut ): self;
- $shortcut(ParserInterface) (обязательный)
- .
Код Translator::registerParserShortcut() Translator::registerParserShortcut WC 10.5.0
public function registerParserShortcut(ParserInterface $shortcut): self
{
$this->shortcutParsers[] = $shortcut;
return $this;
}