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

FunctionExtension::translateNthLastOfType │ public │ WC 1.0

Метод класса: FunctionExtension{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$FunctionExtension = new FunctionExtension();
$FunctionExtension->translateNthLastOfType( $xpath, $function ): XPathExpr;
$xpath(XPathExpr) (обязательный)
.
$function(FunctionNode) (обязательный)
.

Код FunctionExtension::translateNthLastOfType() WC 11.2.2

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);
}