For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

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';
}