wp_upgrade

FUNCTION wp-admin\includes\upgrade.php (ligne 619) github
Filters the contents of the email sent to the site administrator when WordPress is installed.

Paramètres

Entrée :
N/A
Sortie :
@param array $installed_email {
@param WP_User $user          The site administrator user object.
@param string  $blog_title    The site title.
@param string  $blog_url      The site URL.
@param string  $password      The site administrator's password. Note that a placeholder message

Utilisation

// Utilisation de la fonction wp_upgrade
$result = wp_upgrade();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...