Remove/delete the chosen file.
$handle, $removed
Sortie :
@param string $handle Log handle. @return bool
// Ajouter une fonction au hook action 'woocommerce_log_remove'
add_action('woocommerce_log_remove', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($handle, $removed) {
// Votre code ici
error_log('Hook woocommerce_log_remove déclenché');
}
Chargement des actualités...