woocommerce_ajax_revoke_access_to_product_download action-hookWC 1.0

Usage

add_action( 'woocommerce_ajax_revoke_access_to_product_download', 'wp_kama_woocommerce_ajax_revoke_access_to_product_download_action', 10, 4 );

/**
 * Function for `woocommerce_ajax_revoke_access_to_product_download` action-hook.
 * 
 * @param  $download_id   
 * @param  $product_id    
 * @param  $order_id      
 * @param  $permission_id 
 *
 * @return void
 */
function wp_kama_woocommerce_ajax_revoke_access_to_product_download_action( $download_id, $product_id, $order_id, $permission_id ){

	// action...
}
$download_id
-
$product_id
-
$order_id
-
$permission_id
-

Where the hook is called

WC_AJAX::revoke_access_to_download()
woocommerce_ajax_revoke_access_to_product_download
woocommerce/includes/class-wc-ajax.php 768
do_action( 'woocommerce_ajax_revoke_access_to_product_download', $download_id, $product_id, $order_id, $permission_id );

Where the hook is used in WooCommerce

Usage not found.