From 1e3c3b61621e4a4e18d1ebf80acf863f6ba930ef Mon Sep 17 00:00:00 2001 From: "j.ostrowka" Date: Fri, 9 Aug 2024 14:46:09 +0200 Subject: [PATCH] pub-745 --- includes/process-download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/process-download.php b/includes/process-download.php index 328478c336..d71ef146ef 100644 --- a/includes/process-download.php +++ b/includes/process-download.php @@ -143,7 +143,7 @@ function edd_process_download() { header("Content-Disposition: attachment; filename=\"" . apply_filters( 'edd_requested_file_name', basename( $requested_file ) ) . "\""); header("Content-Transfer-Encoding: binary"); - do_action( 'file_downloaded', (int)$attachment_id); + do_action( 'wpi_file_downloaded', (int)$attachment_id); // If the file isn't locally hosted, process the redirect if ( filter_var( $requested_file, FILTER_VALIDATE_URL ) && ! edd_is_local_file( $requested_file ) ) {