Wrapper for the `wc_admin_daily` 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 'wc_admin_daily'
add_action('wc_admin_daily', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee() {
// Votre code ici
error_log('Hook wc_admin_daily déclenché');
}
Chargement des actualités...