WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath\Extension

CombinationExtension::translateChild() public WC 1.0

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

No Hooks.

Return

XPathExpr.

Usage

$CombinationExtension = new CombinationExtension();
$CombinationExtension->translateChild( $xpath, $combinedXpath );
$xpath(XPathExpr) (required)
-
$combinedXpath(XPathExpr) (required)
-

Code of CombinationExtension::translateChild() WC 5.4.1

<?php
public function translateChild(XPathExpr $xpath, XPathExpr $combinedXpath)
{
    return $xpath->join('/', $combinedXpath);
}