Viewing 3 replies - 1 through 3 (of 3 total)
  • Use the Say What? plugin

    Thread Starter crownmarketers

    (@crownmarketers)

    NVM i managed to put a code in my functions.php file

    Incase any else needs it:

    function login_function() {
    add_filter( ‘gettext’, ‘username_change’, 20, 3 );
    function username_change( $translated_text, $text, $domain )
    {
    if ($text === ‘Username’)
    {
    $translated_text = ‘customLoginName’;
    }
    return $translated_text;
    }
    }
    add_action( ‘login_head’, ‘login_function’ );

    Yes, that works too. But if you want to make any other text changes, you’re soon going to have tons of code in your functions.php file, which is when makes the Say What? plugin really comes into its own.

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

The topic ‘Editing the register Page’ is closed to new replies.