When using WPML plugin for translated website and just calling Navi::build('primary_navigation') I expect the menu or the current language to be returned.
This gets the wpml translated menu ID if available returning the translated navigation items. Falls back to normal menu if WPML is not activated.
When using WPML plugin for translated website and just calling
Navi::build('primary_navigation')
I expect the menu or the current language to be returned.This gets the wpml translated menu ID if available returning the translated navigation items. Falls back to normal menu if WPML is not activated.