Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Custom Signup Text (wp-signup.php)
function custom_wp_signup_text( $translated_text, $untranslated_text, $domain ) {
global $pagenow;
if ( is_multisite() && $pagenow === 'wp-signup.php' ) {
switch ( $untranslated_text ) {
case 'Welcome back, %s. By filling out the form below, you can <strong>add another site to your account</strong>. There is no limit to the number of sites you can have, so create to your heart&#8217;s content, but write responsibly!' :
$translated_text = __( 'Welcome back, %s. By filling out the form below, you can add another site to your account.' , 'theme_text_domain' );
case 'If you&#8217;re not going to use a great site domain, leave it for a new user. Now have at it!' :
$translated_text = __( ' ' , 'theme_text_domain' );
return $translated_text;
add_filter( 'gettext', 'custom_wp_signup_text', 20, 3 );

This comment has been minimized.

Copy link
Owner Author

JudeRosario commented Jul 28, 2015

Just copy/paste the code into the functions.php file of your child theme or a site specific plugin if you use one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.