welcome_user_msg_filter

Definition:
function welcome_user_msg_filter( $text ) {}

Ensure that the welcome message is not empty. Currently unused.

Parameters

  • string $text

Source code

function welcome_user_msg_filter( $text ) {

	if ( !$text ) {

		return __( 'Dear User,



Your new account is set up.



You can log in with the following information:

Username: USERNAME

Password: PASSWORD

LOGINLINK



Thanks!



--The Team @ SITE_NAME' );

	}

	return $text;

}

3353

No comments yet... Be the first to leave a reply!

Leave a comment