woocommerce_grant_product_download_permissions action-hookWC 1.0

Usage

add_action( 'woocommerce_grant_product_download_permissions', 'wp_kama_woocommerce_grant_product_download_permissions_action' );

/**
 * Function for `woocommerce_grant_product_download_permissions` action-hook.
 * 
 * @param  $order_id 
 *
 * @return void
 */
function wp_kama_woocommerce_grant_product_download_permissions_action( $order_id ){

	// action...
}
$order_id
-

Where the hook is called

wc_downloadable_product_permissions()
woocommerce_grant_product_download_permissions
woocommerce/includes/wc-order-functions.php 431
do_action( 'woocommerce_grant_product_download_permissions', $order_id );

Where the hook is used in WooCommerce

Usage not found.