media_upload_file

media_upload_file

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('media_upload_file') is found 1 times:

  • /includes/admin/class-wc-admin-upload-downloadable-product.php line 121

    Warning: Undefined array key 123 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 124 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 125 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 126 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	 * Run a filter when uploading a downloadable product.
    	 */
    	public function woocommerce_media_upload_downloadable_product() {
    		// phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
    		do_action( 'media_upload_file' );
    	}
    }