media_upload_file action-hookWC 1.0

This is a WordPress - media_upload_file hook. The plugin just uses it.

Run a filter when uploading a downloadable product.

Usage

add_action( 'media_upload_file', 'wp_kama_media_upload_file_action' );

/**
 * Function for `media_upload_file` action-hook.
 * 
 * @return void
 */
function wp_kama_media_upload_file_action(){

	// action...
}

Where the hook is called

WC_Admin_Upload_Downloadable_Product::woocommerce_media_upload_downloadable_product()
media_upload_file

Where the hook is used in WooCommerce

Usage not found.