Main.php
public function hookFilter($text, $filter, &$filtered)
    {
        if (!isset($filtered) && (!isset($filter['filter_id']) || $filter['filter_id'] === 'xss')) {
            $filtered = $this->filter($text);
        }
    }
public function hookFilter($text, $filter, &$filtered)
    {
        if (!isset($filtered) && (!isset($filter['filter_id']) || $filter['filter_id'] === 'xss')) {
            $filtered = $this->filter($text);
        }
    }
public function hookFilter ( $ text , $ filter , & $ filtered ) { if ( ! isset ( $ filtered ) && ( ! isset ( $ filter [ 'filter_id' ] ) || $ filter [ 'filter_id' ] === 'xss' ) ) { $ filtered = $ this -> filter ( $ text ) ; } }
Implements hook "filter"
@param string $text
@param array $filter
@param null|string $filtered
Implements hook filter