I have 2 sites on which I have a custom function running on the
init hook. The code requires a user to be logged in under some circumstances. Currently it seems to be blocking the WPRUS communication between the two sites.
Is there something I can check for that will allow me to identify WPRUS requests and allow them through this process? Like a POST element or other globally available variable?