Function which handles the start and end of scheduled sales via cron.
$product_ids
Sortie :
// Ajouter une fonction au hook action 'wc_before_products_ending_sales'
add_action('wc_before_products_ending_sales', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($product_ids) {
// Votre code ici
error_log('Hook wc_before_products_ending_sales déclenché');
}
Chargement des actualités...