edd_requested_file_name
edd_requested_file_name
Appears in: wp-stateless.2.3.2, wp-stateless.3.0, wp-stateless.3.0.1, wp-stateless.3.0.2, wp-stateless.3.0.3, wp-stateless.3.0.4, wp-stateless.3.1.0, wp-stateless.3.1.1, wp-stateless.3.2.2, wp-stateless.3.2.4, wp-stateless.3.2.5, wp-stateless.3.3.0, wp-stateless.3.4.0, wp-stateless.3.4.1, wp-stateless.4.0.3, wp-stateless.4.0.4, wp-stateless.4.1.1
Hook Type: filter
Displaying hooks found in version: wp-stateless.4.1.1apply_filters('edd_requested_file_name') is found 1 times:
- /lib/classes/compatibility/easy-digital-downloads.php line 58
header("Content-Type: $ctype"); header("Content-Transfer-Encoding: Binary"); header("Content-Description: File Transfer"); header("Content-disposition: attachment; filename=\"" . apply_filters('edd_requested_file_name', basename($requested_file)) . "\""); readfile($requested_file); exit; } catch (Exception $e) { if (wp_redirect($requested_file)) { exit; }