woocommerce_downloadable_file_permission_data filter-hookWC 1.0

Usage

add_filter( 'woocommerce_downloadable_file_permission_data', 'wp_kama_woocommerce_downloadable_file_permission_data_filter' );

/**
 * Function for `woocommerce_downloadable_file_permission_data` filter-hook.
 * 
 * @param  $data 
 *
 * @return 
 */
function wp_kama_woocommerce_downloadable_file_permission_data_filter( $data ){

	// filter...
	return $data;
}
$data
-

Where the hook is called

WC_Customer_Download_Data_Store::insert_new_download_permission()
woocommerce_downloadable_file_permission_data
woocommerce/includes/data-stores/class-wc-customer-download-data-store.php 115
apply_filters( 'woocommerce_downloadable_file_permission_data', $data ),

Where the hook is used in WooCommerce

Usage not found.