Support » Plugin: Paid Memberships Pro » Modifying the default sign up form fields

Viewing 1 replies (of 1 total)
  • Pete

    (@wealthy)

    to change words within your membership site to something else you can use this code


    Change term “phone” to “Mobile Phone” for plugin generated text
    */
    function my_pmpro_gettext_membership($translated_text, $text, $domain)
    {
    if($domain == “pmpro”)
    {
    $translated_text = str_replace(“Phone”, “Mobile Phone”, $translated_text);

    }

    return $translated_text;
    }
    add_filter(“gettext”, “my_pmpro_gettext_membership”, 10, 3);”

    Customize and add this code to your theme’s functions.php

    See here for more

    Using str_replace to change plugin-generated language

    • This reply was modified 3 years ago by  Pete.
Viewing 1 replies (of 1 total)
  • The topic ‘Modifying the default sign up form fields’ is closed to new replies.