Disable query monitor output on frontend for specific pages/urls
-
Hey! I’m having an issue where query monitor is breaking some ajax requests on the frontend.
Essentially I’m serving a JSON object from a frontend URL, so not
admin-ajax.php
, with a specific param added to the URL to flag this, and query monitor appends its usual output the to the request after my JSON object breaking my JS.Is there a way to disable this conditionally?
I tried returning an empty array in this filter
qm/dispatchers
with a priority of100
but that didn’t seem to do anything.Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Disable query monitor output on frontend for specific pages/urls’ is closed to new replies.