How can I run two AJAX requests simultaneously in WordPress?
Eureka! So I ended up just adding in a second ajax call into the function. For some reason it’s returning successful but not with a 200 response. Anyway, it’s working. If anyone knows why it’s returning an unknown response (besides 200 or 201) please share. Thanks! function get_posts($params) { $.ajax({ url: psc.ajax_url, data: { action: … Read more