public function filter_twig( $twig ) {
		$twig->addFilter( new Twig_SimpleFilter( 'get_timber_image', 'get_timber_image' ) );
		$twig->addFilter( new Twig_SimpleFilter( 'get_timber_image_src', 'get_timber_image_src' ) );
		$twig->addFilter( new Twig_SimpleFilter( 'get_timber_image_responsive', 'get_timber_image_responsive' ) );
		$twig->addFilter( new Twig_SimpleFilter( 'get_timber_image_responsive_src', 'get_timber_image_responsive_src' ) );

		$twig->addFilter( new Twig_SimpleFilter( 'lazy', 'make_timber_image_lazy' ) );

		$twig->addFunction( new \Twig_SimpleFunction( 'get_timber_image_responsive_acf', 'get_timber_image_responsive_acf' ) );

		return $twig;
	}
public function filter_twig( $twig ) {
		$twig->addFilter( new Twig_SimpleFilter( 'get_timber_image', 'get_timber_image' ) );
		$twig->addFilter( new Twig_SimpleFilter( 'get_timber_image_src', 'get_timber_image_src' ) );
		$twig->addFilter( new Twig_SimpleFilter( 'get_timber_image_responsive', 'get_timber_image_responsive' ) );
		$twig->addFilter( new Twig_SimpleFilter( 'get_timber_image_responsive_src', 'get_timber_image_responsive_src' ) );

		$twig->addFilter( new Twig_SimpleFilter( 'lazy', 'make_timber_image_lazy' ) );

		$twig->addFunction( new \Twig_SimpleFunction( 'get_timber_image_responsive_acf', 'get_timber_image_responsive_acf' ) );

		return $twig;
	}
public function filter_twig ( $ twig ) { $ twig -> addFilter ( new Twig_SimpleFilter ( 'get_timber_image' , 'get_timber_image' ) ) ; $ twig -> addFilter ( new Twig_SimpleFilter ( 'get_timber_image_src' , 'get_timber_image_src' ) ) ; $ twig -> addFilter ( new Twig_SimpleFilter ( 'get_timber_image_responsive' , 'get_timber_image_responsive' ) ) ; $ twig -> addFilter ( new Twig_SimpleFilter ( 'get_timber_image_responsive_src' , 'get_timber_image_responsive_src' ) ) ; $ twig -> addFilter ( new Twig_SimpleFilter ( 'lazy' , 'make_timber_image_lazy' ) ) ; $ twig -> addFunction ( new \ Twig_SimpleFunction ( 'get_timber_image_responsive_acf' , 'get_timber_image_responsive_acf' ) ) ; return $ twig ; }
Set filters to use Timmy filters and functions in Twig.

@param Twig_Environment $twig The Twig Environment instance.

@return Twig_Environment $twig
Set filters to use Timmy filters and functions in Twig .