WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath

XPathExpr::__construct() public WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$XPathExpr = new XPathExpr();
$XPathExpr->__construct( $path, $element, $condition, $starPrefix );
$path(string)
-
$element(string)
-
$condition(string)
-
$starPrefix *(true false)*

Code of XPathExpr::__construct() WC 5.4.1

<?php
public function __construct($path = '', $element = '*', $condition = '', $starPrefix = false)
{
    $this->path = $path;
    $this->element = $element;
    $this->condition = $condition;

    if ($starPrefix) {
        $this->addStarPrefix();
    }
}