> 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_menu_parent_menu_item_title.md).

# weglot\_menu\_parent\_menu\_item\_title

When the language switcher is added through the WordPress menu in dropdown mode, its parent item shows a default title ("Choose your language"). Use this filter to change it.

```php
add_filter( 'weglot_menu_parent_menu_item_title', 'custom_weglot_menu_parent_menu_item_title' );
function custom_weglot_menu_parent_menu_item_title( $title ) {
    return 'Choose your language';
}
```
