Viewing 5 replies - 1 through 5 (of 5 total)
  • Hiya,

    This should work for you;

    function my_change_em_text($translated_text, $text, $domain){
        if ('em-pro' == $domain && 'Spaces' == $translated_text){
            $translated_text = __('Number of places', 'my_theme_text_domain');
        }
        return $translated_text;
    }
    add_filter( 'gettext', 'my_change_em_text', 20, 3 );

    Cheers,
    Phil

    Thread Starter Jerin K Alexander

    (@jerinkalexandergmailcom)

    Hi,

    I am not asking about the style..In the events manager plugin booking form, it have a form field which says “Spaces”. We can select the number of spaces through that.My question is, can i rename the word “spaces” to “number of places”

    Have you tried Phil’s code? It should work fine when added to your functions.php file.

    Thread Starter Jerin K Alexander

    (@jerinkalexandergmailcom)

    Thread Starter Jerin K Alexander

    (@jerinkalexandergmailcom)

    Thanks. That is resolved now 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change the word "Spaces" to "Number of places"?’ is closed to new replies.