Meta Box
Support Forum
Support › MB Views › MB views if polylang lan,guiage = else
Hi there,
Is it possible to add an if else in MB views template that checks the polylang language
Thx!
Hello Chris,
It is possible to run a PHP function in the view template, please follow the documentation https://docs.metabox.io/extensions/mb-views/#running-php-functions
if Polylang supports a PHP function that check the language, you can use that in the view template.