woocommerce_admin_download_permissions_title filter-hookWC 1.0

Usage

add_filter( 'woocommerce_admin_download_permissions_title', 'wp_kama_woocommerce_admin_download_permissions_title_filter', 10, 5 );

/**
 * Function for `woocommerce_admin_download_permissions_title` filter-hook.
 * 
 * @param  $product_name         
 * @param  $download_product_id  
 * @param  $download_order_id    
 * @param  $download_order_key   
 * @param  $download_download_id 
 *
 * @return 
 */
function wp_kama_woocommerce_admin_download_permissions_title_filter( $product_name, $download_product_id, $download_order_id, $download_order_key, $download_download_id ){

	// filter...
	return $product_name;
}
$product_name
-
$download_product_id
-
$download_order_id
-
$download_order_key
-
$download_download_id
-

Where the hook is called

In file: /includes/admin/meta-boxes/views/html-order-download-permission.php
woocommerce_admin_download_permissions_title
woocommerce/includes/admin/meta-boxes/views/html-order-download-permission.php 15
esc_html( apply_filters( 'woocommerce_admin_download_permissions_title', $product->get_name(), $download->get_product_id(), $download->get_order_id(), $download->get_order_key(), $download->get_download_id() ) ),

Where the hook is used in WooCommerce

Usage not found.