woocommerce_customer_available_downloads filter-hookWC 1.0

Usage

add_filter( 'woocommerce_customer_available_downloads', 'wp_kama_woocommerce_customer_available_downloads_filter', 10, 2 );

/**
 * Function for `woocommerce_customer_available_downloads` filter-hook.
 * 
 * @param  $downloads   
 * @param  $customer_id 
 *
 * @return 
 */
function wp_kama_woocommerce_customer_available_downloads_filter( $downloads, $customer_id ){

	// filter...
	return $downloads;
}
$downloads
-
$customer_id
-

Where the hook is called

wc_get_customer_available_downloads()
woocommerce_customer_available_downloads
woocommerce/includes/wc-user-functions.php 694
return apply_filters( 'woocommerce_customer_available_downloads', $downloads, $customer_id );

Where the hook is used in WooCommerce

Usage not found.