{{ 'BASE'|f3 }}
You can get all variables set using f3->set() the same way.
Or you can do
$twig->addGlobal( 'BASE', $f3->get( 'BASE' ) );
So, you can get it in your templates like {{ BASE }}
Is there a way to write filters in F3?
I was asking if there was a way to write custom filters in F3, something like
{{ var | custom_filter }}
Not that I need it anyway, just asking.