How should AJAX in WordPress work when there's no function to output?
I need to use AJAX in WordPress to call a third-party API, and then based on the response to then update the state of some checkboxes. I've used AJAX before, but it has relied on the output of PHP function…