Toggle Messages


Home Forums Front End PM PRO Toggle Messages

This topic is: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31232
    Ronnie Houston
    Participant

    Hello how do I change the word toggle in “toggle messages” on the toggle messages feature to say “Expand” messages?
    Thanks

    #31298
    shamim
    Keymaster

    Sorry for late reply.
    You can add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter( 'gettext', function( $translated_text, $text, $domain ){
        if ( 'front-end-pm' == $domain && 'Toggle Messages' == $text ){
            $translated_text = 'Expand';
        }
        return $translated_text;
    }, 20, 3 );
    
    #31349
    Ronnie Houston
    Participant

    Thank you very much, it worked perfectly. Awesome support!

Viewing 3 posts - 1 through 3 (of 3 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.