WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath

TranslatorInterface::cssToXPath() public WC 1.0

Translates a CSS selector to an XPath expression.

{} It's a method of the class: TranslatorInterface{}

No Hooks.

Return

String. Nothing.

Usage

$TranslatorInterface = new TranslatorInterface();
$TranslatorInterface->cssToXPath( $cssExpr, $prefix );
$cssExpr(string) (required)
-
$prefix(string)
-

Code of TranslatorInterface::cssToXPath() WC 5.4.1

<?php
public function cssToXPath($cssExpr, $prefix = 'descendant-or-self::');