Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\XPath\Extension

FunctionExtension::translateNthOfTypepublicWC 1.0

Method of the class: FunctionExtension{}

No Hooks.

Returns

null. Nothing (null).

Usage

$FunctionExtension = new FunctionExtension();
$FunctionExtension->translateNthOfType( $xpath, $function ): XPathExpr;
$xpath(XPathExpr) (required)
.
$function(FunctionNode) (required)
.

FunctionExtension::translateNthOfType() code WC 10.8.1

public function translateNthOfType(XPathExpr $xpath, FunctionNode $function): XPathExpr
{
    return $this->translateNthChild($xpath, $function, false, false);
}