Timeline for Is it possible to intercept all ajax requests and get the parameters and the returns?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 10, 2022 at 12:55 | comment | added | TheStoryCoder | @VivekAthalye Doesn't allow you to access or manipulate the response - only completely override it. | |
Apr 15, 2020 at 9:26 | comment | added | Vivek Athalye | One answer available here wordpress.stackexchange.com/a/282651/119672 | |
Feb 23, 2019 at 11:27 | comment | added | rafaelfndev | Yes, I use "template_redirect" only for standard navigation (not for ajax), and seemingly solved for almost every request (except for ajax), now I need some hook that does something similar but in ajax requests. | |
Feb 23, 2019 at 0:32 | comment | added | Tom J Nowell♦ |
Keep in mind a lot of newer plugins use the REST API endpoints, not admin AJAX, and that for neither of those is a template loaded, so template_redirect wouldn't work
|
|
Feb 22, 2019 at 23:17 | history | asked | rafaelfndev | CC BY-SA 4.0 |