WC_Admin_Upload_Downloadable_Product::woocommerce_media_upload_downloadable_product
Run a filter when uploading a downloadable product.
Method of the class: WC_Admin_Upload_Downloadable_Product{}
Hooks from the method
Returns
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() WC Admin Upload Downloadable Product::woocommerce media upload downloadable product code WC 10.3.5
public function woocommerce_media_upload_downloadable_product() {
// phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
do_action( 'media_upload_file' );
}