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

FunctionExtension::translateNthLastOfTypepublicWC 1.0

Method of the class: FunctionExtension{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

FunctionExtension::translateNthLastOfType() code WC 10.8.1

public function translateNthLastOfType(XPathExpr $xpath, FunctionNode $function): XPathExpr
{
    if ('*' === $xpath->getElement()) {
        throw new ExpressionErrorException('"*:nth-of-type()" is not implemented.');
    }

    return $this->translateNthChild($xpath, $function, true, false);
}