Allows for additional processing of the product IDs after they have been queued.
$product_ids
Sortie :
@param array $product_ids The product IDs to process.
// Ajouter une fonction au hook action 'woocommerce_customer_stock_notifications_product_sync'
add_action('woocommerce_customer_stock_notifications_product_sync', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($product_ids) {
// Votre code ici
error_log('Hook woocommerce_customer_stock_notifications_product_sync déclenché');
}
Chargement des actualités...