removeFilter

Removes an filter.

@param string $name Name of the filter.
@return void
961938
public function removeFilter($name)
    {
        $filters = $this->config('filters');
        unset($filters[$name]);

        $this->config('filters', $filters, false);
    }
1317804
public function delete($name)
    {
        if (file_exists(route()->com.$name)) {
            (new Files())->deleteDir(route()->com.$name);
        }
    }
762354
public function removeHeader(string $name)
    {
        if (array_key_exists($name, $this->headers)) {
            unset($this->headers[$name]);
        }

        return $this;
    }
662947
public function removeHeader($name) {
        $this->requireOpenConnection();
        $this->requireFeature('headerGetDelete');

        $response = $this->curl(
            'DELETE',
            '/proxy/' . $this->port . '/header/' . urlencode($name)
        );
    }
893766
public function delete($name)
    {
        if ($this->check($name)) {
            $this->_overwrite($_SESSION, Hash::remove($_SESSION, $name));
        }
    }
690775
public function removeIndex($name)
    {
        //check if we have a index with this name already, then delete it
        foreach ($this->indices as $n => $idx) {
            if ($idx->getName() == $name) {
                unset($this->indices[$n]);

                return;
            }
        }
    }
375781
public static function RemoveParameter ($name) {
		if (static::HasClassVar('_get', $name)) {
			static::RemoveClassVar('_get', $name);
		}
		if (Arrays::ExistsLowest($_GET, $name)) {
			Arrays::RemoveLowest($_GET, $name);
		}
	}
335032
public function removePattern($name)
    {
        foreach ($this->patterns as $k => $p) {
            if ($p[0] === $name) {
                unset($this->patterns[$k]);
            }
        }
    }
265944
public function remove($name)
    {
        if (isset($this->routes[$name])) {
            unset($this->routes[$name]);
        }

        return $this;
    }
309427
private function removeConfig($name)
    {
        try {
            $this->configFactory->getEditable($name)->delete();
        } catch (\Exception $e) {
            throw new RuntimeException($e->getMessage());
        }
    }
304215
public function removeHeader(string $name)
    {
        parent::removeHeader($name);

        if (\stripos($name, "cookie") === 0) {
            $this->cookies = [];
        }
    }
850148
def remove_filter_function(self, name):
        
        if name in self._filter_functions.keys():
            del self._filter_functions[name]
            self.invalidateFilter()
413483
public function addFilter(string $name, string $filter): void{
        $this->filters[$name] = $filter;
    }
922592
public static function removeOperations($name)
    {
        $names = func_get_args();
        self::$operations = filter(function($operation) use($names) {
            return !in_array(get('name', $operation), $names);
        }, self::$operations);
    }
91405
public function RemoveNamespace($name, $header="")
    {
        if($header)
        {
            unset($this->headers[$header]->namespaces[$name]);
        }
        else
        {
            foreach($this->headers as $header_object)
            {
                unset($header_object->namespaces[$name]);
            }
        }
    }
545539
public function remove($module, $name)
    {
        $index = 0;

        if ($this->has($module, $name, $index)) {
            unset($this->data[$index]);
        }
    }
129165
public function remove($name)
    {
        unset($this->plugins[$name]);
        $this->names = array_keys($this->plugins);

        return $this;
    }