Make a PDF link

May 15, 2020 17:39:25
israelj
Topics: 13
Messages: 17
Is there a way to store a generate the PDF link without having to use the shortcode? Something that I can store in a meta field or trigger with another function and just get the url?
May 16, 2020 06:58:26
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Please check answer in your other thread: https://e2pdf.com/support/desk/how-do-i-get-the-pdf-to-save. It will output path to saved pdf in the example above. So in theory you will need to convert "absolute" path to url.

Or use PHP function like:

$url = do_shortcode('[e2pdf-save id="1" dataset="1" download="true" overwrite="false" apply="true"]');

* it will save PDF and will generate E2Pdf download link, but it will use "saved" pdf (if file exists) to show instead of generating it on request .

We remain at your service.

We would really appreciate your feedback at WordPress.org!
May 18, 2020 19:29:19
israelj
Topics: 13
Messages: 17
Thanks!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.