weglot_menu_parent_item_title

Weglot allow to add the switcher from the Wordpress menu admin. with this filter you can programmatically change the title to display on your switcher.

add_filter( 'weglot_menu_parent_item_title', 'my_title' );

Last updated