Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_new_blog_notification [ WordPress Function ]

wp_new_blog_notification ( $blog_title, $blog_url, $user_id, $password )
Parameters:
  • (string) $blog_title Blog title.
  • (string) $blog_url Blog url.
  • (int) $user_id User ID.
  • (string) $password User's Password.
Defined at:



{@internal Missing Short Description}}

{@internal Missing Long Description}}

Source


<?php
function wp_new_blog_notification($blog_title$blog_url$user_id$password) {
    
$user = new WP_User($user_id);
    
$email $user->user_email;
    
$name $user->user_login;
    
$message sprintf(__("Your new WordPress site has been successfully set up at:

%1\$s

You can log in to the administrator account with the following information:

Username: %2\$s
Password: %3\$s

We hope you enjoy your new site. Thanks!

--The WordPress Team
http://wordpress.org/
"
), $blog_url$name$password);

    @
wp_mail($email__('New WordPress Site'), $message);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics