WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath\Extension

HtmlExtension::translateVisited() public WC 1.0

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

No Hooks.

Return

XPathExpr.

Usage

$HtmlExtension = new HtmlExtension();
$HtmlExtension->translateVisited( $xpath );
$xpath(XPathExpr) (required)
-

Code of HtmlExtension::translateVisited() WC 5.4.1

<?php
public function translateVisited(XPathExpr $xpath)
{
    return $xpath->addCondition('0');
}