Change front-end text

Home Forums Front End PM PRO Change front-end text

This topic is: Resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #22939
    Ronnie Houston

    Hello, how do I change the text on the front-end, for example: When starting a new message under attachments it reads :”Add more file”… How can I change this to read “add more files”?



    You can use gettext filter.
    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 && 'Add more file' == $text ){
            $translated_text = 'add more files';
        return $translated_text;
    }, 20, 3 );
    Ronnie Houston

    Awesome, thank you for your quick response.

    Ronnie Houston

    Worked perfectly definitely giving this plugin 5 stars..

Viewing 4 posts - 1 through 4 (of 4 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.