src/FiltersTrait.php
public function disableFilter(string $filter)
    {
        if (\in_array($filter, $this->disabledFilters, true)) {
            return;
        }

        $this->getFilterCollection()->disable($filter);

        $this->disabledFilters[] = $filter;
    }
public function disableFilter(string $filter)
    {
        if (\in_array($filter, $this->disabledFilters, true)) {
            return;
        }

        $this->getFilterCollection()->disable($filter);

        $this->disabledFilters[] = $filter;
    }
Disable filter.

@param string $filter