src/Hook/FilterBuilder.php
public function run($hook, $args = null)
    {
        if (is_array($args)) {
            return $this->applyFiltersRefArray($hook, $args);
        }

        return $this->applyFilters($hook, $args);
    }
public function run($hook, $args = null)
    {
        if (is_array($args)) {
            return $this->applyFiltersRefArray($hook, $args);
        }

        return $this->applyFilters($hook, $args);
    }
public function run ( $ hook , $ args = null ) { if ( is_array ( $ args ) ) { return $ this -> applyFiltersRefArray ( $ hook , $ args ) ; } return $ this -> applyFilters ( $ hook , $ args ) ; }
Run all filters registered with the hook.

@param string $hook The filter hook name.
@param mixed  $args

@return mixed
Run all filters registered with the hook .