> For the complete documentation index, see [llms.txt](https://developers.weglot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.weglot.com/wordpress/helpers-functions-1/weglot_active_current_menu_item.md).

# 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).

```php
add_filter( 'weglot_active_current_menu_item', '__return_true' );
```
