This filter is documented in wp-includes/option.php if ( apply_filters( "default_option_{$option}", false, $option, false ) !== get_option( $option ) ) { return false;
$option
Sortie :
@param string $option Name of the option to add. @param mixed $value Value of the option. @param string $option Name of the option to add. @param mixed $value Value of the option. @param string $option Name of the added option. @param mixed $value Value of the option. @param string $option Name of the option to delete. Expected to not be SQL-escaped. @return bool True if the option was deleted, false otherwise.
// Utilisation de la fonction delete_option
$result = delete_option($option);
if ($result) {
// Votre logique ici
}
Chargement des actualités...