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

XPathExpr::addCondition │ public │ WC 1.0

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

Хуков нет.

Возвращает

$this.

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

$XPathExpr = new XPathExpr();
$XPathExpr->addCondition( $condition ): self;
$condition(строка) (обязательный)
.

Код XPathExpr::addCondition() WC 11.2.2

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

    return $this;
}