Forum Replies Created
This bug is really make my life very hard at the moment. Could someone please provide some guidance?
Is someone able to provide help for this?
Is there any news here? The issue is really annoying…
Is there a (paid) plugin that I can use to make my pdf content searchable? It is a big feature request from my users. Is there any way at all?
Hello,
I’m not quite sure on how to do that. I would like to send an email (wp_mail()) with a direct link to the .pdf file (only one file in a package) and also attach that .pdf to the email.
However, that should only happen if the uploaded package is a specific category (category XYZ). So, right now I am using save_post_wpdmpro and check the wpdm_get_package(post_ID) for the cats_class. There I have the category string I am looking for. That all works. I get the correct link in the email and everything is fine.
However I cannot seem to figure out how to attach the file. How to get the specific file in this context oder in your mentioned filter?
I am trying to target the individual file upload.
Also I am trying to attach the first file of a package after package save (using save_post()) to an email.
-
This reply was modified 6 years, 2 months ago by
Sebastian Stockart.
Thank you for your response, much appreciated.
Unfortunately it does seem to wor. The download counter does show three downloads, but the file size remains empty. Putting in the file size manually is not an option for me. We are talking about more than 1,000 files…