WC_Admin_Post_Types::woocommerce_media_upload_downloadable_product()publicWC 1.0

Run a filter when uploading a downloadable product.

{} It's a method of the class: WC_Admin_Post_Types{}

Hooks from the method

Return

null. Nothing.

Usage

$WC_Admin_Post_Types = new WC_Admin_Post_Types();
$WC_Admin_Post_Types->woocommerce_media_upload_downloadable_product();

Code of WC_Admin_Post_Types::woocommerce_media_upload_downloadable_product() WC 6.7.0

public function woocommerce_media_upload_downloadable_product() {
	do_action( 'media_upload_file' );
}