Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\XPath
Translator::registerParserShortcut
Method of the class: Translator{}
No Hooks.
Returns
$this.
Usage
$Translator = new Translator(); $Translator->registerParserShortcut( $shortcut ): self;
- $shortcut(ParserInterface) (required)
- .
Translator::registerParserShortcut() Translator::registerParserShortcut code WC 10.4.3
public function registerParserShortcut(ParserInterface $shortcut): self
{
$this->shortcutParsers[] = $shortcut;
return $this;
}