wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
admin_created_user_email › WordPress Function
Da
Deprecaton/a
› admin_created_user_email ( $text )
Parametri: |
|
Ritorna: |
|
Definito a: |
|
Codex: | |
ChangeLog: |
|
Al momento non è disponibile una descrizione.
Funzioni correlate: wpmu_create_user, get_user_by_email, create_user, wp_create_user, wp_create_user_request
Sorgenti
function admin_created_user_email( $text ) { $roles = get_editable_roles(); $role = $roles[ $_REQUEST['role'] ]; if ( '' !== get_bloginfo( 'name' ) ) { $site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ); } else { $site_title = parse_url( home_url(), PHP_URL_HOST ); } return sprintf( /* translators: 1: Site title, 2: Site URL, 3: User role. */ __( 'Hi, 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: %%s' ), $site_title, home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ) ); }