ms_site_check

FUNCTION wp-includes\ms-load.php (ligne 59) github
Checks status of current blog. Checks if the blog is deleted, inactive, archived, or spammed. Dies with a default message if the blog does not pass the check. To change the default message when a blog does not pass the check, use the wp-content/blog-deleted.php, blog-inactive.php and blog-suspended.php drop-ins.

Paramètres

Entrée :
N/A
Sortie :
@return true|string Returns true on success, or drop-in file to include.

Utilisation

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

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

Actualités

Chargement des actualités...