Prevent wp_ap_cache_users from running on Multisite sub-site where AnsPress is deactivated
I’ve been importing users to my main BuddyPress site on which the AnsPress plugin is not active (AnsPress is active on a different sub-site in the Network). But in monitoring MySQL using SHOW PROCESSLIST; I can see that wp_ap_cache_users is running on the recently imported users for the main site.
What triggers ap_cache_users to run? Is there a way to preventing AnsPress from running on unrelated sites on Multisite Network?
Thanks,
Jeff
So it turns out this wasn’t a query caused by AnsPress at all—it’s from WPMUDEV’s Snapshots Pro—my backup plugin. I assumed the _ap_ in the process name was AnsPress. Sorry!
Rahul Aryan commented on answer
Hello Jeff,
Thanks for letting me know. I excluded this from todo.