Updates the value of an option that was already added for the current network.
$option, $value
Sortie :
@param string $option Name of the option. Expected to not be SQL-escaped. @param mixed $value Option value. Expected to not be SQL-escaped. @return bool True if the value was updated, false otherwise.
// Utilisation de la fonction update_site_option
$result = update_site_option($option, $value);
if ($result) {
// Votre logique ici
}
Chargement des actualités...