admin_created_user_email( string $text )

Parameters Parameters


(string) (Required)

Top ↑

Return Return


Top ↑

Source Source

File: wp-admin/includes/user.php

function admin_created_user_email( $text ) {
	$roles = get_editable_roles();
	$role  = $roles[ $_REQUEST['role'] ];

	return sprintf(
		/* translators: 1: Site title, 2: Site URL, 3: User role. */
You\'ve been invited to join \'%1$s\' at
%2$s with the role of %3$s.
If you do not want to join this site please ignore
this email. This invitation will expire in a few days.

Please click the following link to activate your user account:
		wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ),
		wp_specialchars_decode( translate_user_role( $role['name'] ) )

Top ↑

Changelog Changelog

Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.