edd_requested_file_name

edd_requested_file_name

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.1

apply_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;
                }