Title: custom tooltip
Last modified: August 21, 2016

---

# custom tooltip

 *  Resolved [nini13](https://wordpress.org/support/users/nini13/)
 * (@nini13)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-tooltip/)
 * Can I suppress the display of tooltips on the flags?
    If I do not tell the parameter
   description I deafut by “us” or “en_US” thank you
 * [http://wordpress.org/plugins/multisite-language-switcher/](http://wordpress.org/plugins/multisite-language-switcher/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-tooltip/#post-4425517)
 * You could insert something more meaningful in the description such as “English”.
 * But there is of course a way to hide the title if you really need to do it:
 * [https://github.com/lloc/Multisite-Language-Switcher/wiki/Change-the-output](https://github.com/lloc/Multisite-Language-Switcher/wiki/Change-the-output)
 *  Thread Starter [nini13](https://wordpress.org/support/users/nini13/)
 * (@nini13)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-tooltip/#post-4425523)
 * Thank you
    I am your code but I need to change anything to hide the tooltip ?
 *     ```
       function my_msls_output_get( $url, $link, $current ) {
           return sprintf(
               '<a href="%s">%s</a>',
               $url,
               $link->txt,
               ( $current ? ' class="current"' : '' ),
               $link
           );
       }
       add_filter( 'msls_output_get', 'my_msls_output_get', 10, 3 );
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-tooltip/#post-4425524)
 * The code should be similar to this:
 *     ```
       function my_msls_output_get( $url, $link, $current ) {
           return sprintf(
               '<a href="%s"%s>%s</a>',
               $url,
               ( $current ? ' class="current"' : '' ),
               $link
           );
       }
       add_filter( 'msls_output_get', 'my_msls_output_get', 10, 3 );
       ```
   
 *  Thread Starter [nini13](https://wordpress.org/support/users/nini13/)
 * (@nini13)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-tooltip/#post-4425530)
 * OK thank but
    Every piece of code that can be personalized must be put where?
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-tooltip/#post-4425532)
 * Most users place code like this in their functions.php.
 *  Thread Starter [nini13](https://wordpress.org/support/users/nini13/)
 * (@nini13)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-tooltip/#post-4425556)
 * super ok
    I managed to remove the balloon and put the flags in my main menu Again
   thank you for your support

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘custom tooltip’ is closed to new replies.

 * ![](https://ps.w.org/multisite-language-switcher/assets/icon-256x256.png?rev=
   2793358)
 * [Multisite Language Switcher](https://wordpress.org/plugins/multisite-language-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multisite-language-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multisite-language-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/multisite-language-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multisite-language-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multisite-language-switcher/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [nini13](https://wordpress.org/support/users/nini13/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/custom-tooltip/#post-4425556)
 * Status: resolved