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