WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath

XPathExpr::addCondition() public WC 1.0

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

No Hooks.

Return

$this.

Usage

$XPathExpr = new XPathExpr();
$XPathExpr->addCondition( $condition );
$condition (required)
-

Code of XPathExpr::addCondition() WC 5.4.1

<?php
public function addCondition($condition)
{
    $this->condition = $this->condition ? sprintf('%s and (%s)', $this->condition, $condition) : $condition;

    return $this;
}