Timeline for PDF download - use wordpress functions
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 8:21 | history | edited | CommunityBot |
Commonmark migration
|
|
Nov 15, 2017 at 16:17 | comment | added | QuickSort |
First of all - thanks for answering. Why I do not want to include the wp-load? It is not a performance issue it is just not recommended and considered as bad practice. To go the way with cookies would be possible, but isn't clean neither. What I did: I created the "download function" not in download.php but inside the main plugin files (with validation stuff using wordpress functionality) and added it to wp_loaded . The function is executed if the right parameters are set. It works fine - but there is still the issue that the parameter check has to be done each time wp_loaded is "fired".
|
|
Nov 15, 2017 at 16:00 | history | answered | brianjohnhanna | CC BY-SA 3.0 |