WC_Admin_Upload_Downloadable_Product::woocommerce_media_upload_downloadable_product()publicWC 1.0

Run a filter when uploading a downloadable product.

Method of the class: WC_Admin_Upload_Downloadable_Product{}

Hooks from the method

Return

null. Nothing (null).

Usage

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

WC_Admin_Upload_Downloadable_Product::woocommerce_media_upload_downloadable_product() code WC 9.0.1

public function woocommerce_media_upload_downloadable_product() {
	// phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
	do_action( 'media_upload_file' );
}