Fires when an admin note is updated.
$note->get_id(
Sortie :
@param int $note_id Note ID.
// Ajouter une fonction au hook action 'woocommerce_note_updated'
add_action('woocommerce_note_updated', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($note->get_id() {
// Votre code ici
error_log('Hook woocommerce_note_updated déclenché');
}
Chargement des actualités...