woocommerce_customer_stock_notifications_product_sync action-hookWC 10.2.0

Allows for additional processing of the product IDs after they have been queued.

Usage

add_action( 'woocommerce_customer_stock_notifications_product_sync', 'wp_kama_woocommerce_customer_stock_notifications_product_sync_action' );

/**
 * Function for `woocommerce_customer_stock_notifications_product_sync` action-hook.
 * 
 * @param array $product_ids The product IDs to process.
 *
 * @return void
 */
function wp_kama_woocommerce_customer_stock_notifications_product_sync_action( $product_ids ){

	// action...
}
$product_ids(array)
The product IDs to process.

Changelog

Since 10.2.0 Introduced.

Where the hook is called

StockSyncController::process_queue()
woocommerce_customer_stock_notifications_product_sync
woocommerce/src/Internal/StockNotifications/StockSyncController.php 154
do_action( 'woocommerce_customer_stock_notifications_product_sync', $product_ids );

Where the hook is used in WooCommerce

Usage not found.