Determines whether or not this network from this page can be edited. By default editing of network is restricted to the Network Admin for that `$network_id`. This function allows for this to be overridden.
$network_id
Sortie :
@param int $network_id The network ID to check. @return bool True if network can be edited, false otherwise.
// Utilisation de la fonction can_edit_network
$result = can_edit_network($network_id);
if ($result) {
// Votre logique ici
}
Chargement des actualités...