• I want to change the title of the default “Phone” field under “Billing Address” on the sign up form to “Mobile Phone” and also to add a short bit of text underneath this field explaining how we’ll use the mobile number.

    I did a lot of research but could only find help on how to add extra fields to the sign up form and not how to modify existing ones.

Viewing 1 replies (of 1 total)
  • 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
    https://www.paidmembershipspro.com/using-str_replace-change-plugin-generated-language/

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