public function where($field, $value)
    {
        if (strtolower($field) === "meta_query") {
            return $this->metaWhere($field, $value);
        } elseif (strtolower($field) === "tax_query") {
            return $this->taxWhere($field, $value);
        }

        $this->filters[$field] = $value;
        return $this;
    }
public function where($field, $value)
    {
        if (strtolower($field) === "meta_query") {
            return $this->metaWhere($field, $value);
        } elseif (strtolower($field) === "tax_query") {
            return $this->taxWhere($field, $value);
        }

        $this->filters[$field] = $value;
        return $this;
    }
public function where ( $ field , $ value ) { if ( strtolower ( $ field ) === "meta_query" ) { return $ this -> metaWhere ( $ field , $ value ) ; } elseif ( strtolower ( $ field ) === "tax_query" ) { return $ this -> taxWhere ( $ field , $ value ) ; } $ this -> filters [ $ field ] = $ value ; return $ this ; }
Adds any type of condition.
@param  string $field
@param  string $value
@return Query
Adds any type of condition .