src/twigextensions/WordsmithTwigExtension.php
public function getFilters()
    {

		$smith = Wordsmith::$plugin->smith;
		$prefix = Wordsmith::$plugin->getSettings()->twigPrefix;

		$filters = [];

		foreach ($smith->getMethodList() as $method => $meta)
		{
			$filters[] = new Twig_Filter($prefix.$method, [$smith, $method], $meta);
		}

		return $filters;

    }
public function getFilters()
    {

		$smith = Wordsmith::$plugin->smith;
		$prefix = Wordsmith::$plugin->getSettings()->twigPrefix;

		$filters = [];

		foreach ($smith->getMethodList() as $method => $meta)
		{
			$filters[] = new Twig_Filter($prefix.$method, [$smith, $method], $meta);
		}

		return $filters;

    }
Returns an array of Twig filters, to be used in Twig templates via:

{{ 'bar' | fooFilter }}

@return array