Wrapper for the `woocommerce_tracker_send_event` action. This prevents the event failing when the class is not loaded. It loads the class if it exists, and then calls the actual action.
N/A
Sortie :
@return void
// Ajouter une fonction au hook action 'woocommerce_tracker_send_event'
add_action('woocommerce_tracker_send_event', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee() {
// Votre code ici
error_log('Hook woocommerce_tracker_send_event déclenché');
}
Chargement des actualités...