get_main_network_id

FUNCTION wp-includes\functions.php (ligne 6468) github
Gets the main network ID.

Paramètres

Entrée :
N/A
Sortie :
@return int The ID of the main network.

Utilisation

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

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

Actualités

Chargement des actualités...