Hi @berdych
the filter_var function is a core PHP function since 5.2
Perhaps you are running an older version of PHP?
I’ll take a look at the core of WP and see what I can use for better compatibility with old PHP versions.
For now, you can either modify the core code or upgrade your PHP version
Thanks
E