Timeline for Why my admin-ajax url returns 0 even after adding echo and die() at the end of function?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Dec 28, 2022 at 6:21 | history | suggested | Amir Sandila | CC BY-SA 4.0 |
The error was in FormData. I added image input in the constructor and now this code works perfectly.
|
Dec 28, 2022 at 6:17 | vote | accept | Amir Sandila | ||
Dec 28, 2022 at 6:17 | comment | added | Amir Sandila | I edited the answer and it works perfectly. Please explain about constructor of FormData object. How it works? | |
Dec 28, 2022 at 6:16 | review | Suggested edits | |||
S Dec 28, 2022 at 6:21 | |||||
Dec 27, 2022 at 11:16 | history | edited | Krunal Bhimajiyani | CC BY-SA 4.0 |
added 12 characters in body
|
Dec 27, 2022 at 11:10 | history | answered | Krunal Bhimajiyani | CC BY-SA 4.0 |