weglot_active_current_menu_item

With this filter you can manage if you want to add the current-item-menu class into your switcher element (menu version).

add_filter( 'weglot_active_current_menu_item', '__return_true' );

Last updated