Viewing 1 replies (of 1 total)
  • Hi @rhosseinirad

    Yes, you can hide canceled or unpaid purchases from download history.

    For this you need to override EDD templates to your theme and modify one line of code.

    To override EDD template, please refer below document

    You need to override templates/history-downloads.php file to your theme.

    Once you override, now open that file and go to line no 10. You can find this function edd_get_users_purchases in that.

    In that function there is a fourth argument ‘any’. You just need to change this to ‘complete’ and save the file.

    That’s it.

    • This reply was modified 1 year, 6 months ago by Pratik Jain.
Viewing 1 replies (of 1 total)
  • The topic ‘How can i hide canceled purchases’ is closed to new replies.