WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath\Extension

CombinationExtension::translateDescendant() public WC 1.0

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

No Hooks.

Return

XPathExpr.

Usage

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

Code of CombinationExtension::translateDescendant() WC 5.4.1

<?php
public function translateDescendant(XPathExpr $xpath, XPathExpr $combinedXpath)
{
    return $xpath->join('/descendant-or-self::*/', $combinedXpath);
}