I am trying to disable the backend in addition to the frontend for all users , not just admins, on in a single multisite subsite for this condition:
– When they have a paid account and stop paying
Effectively, I want to disable the front and backend of a subsite for all users if the admin hasn’t paid for the subsite. I have a plugin in the backend that seems to be able to be used freely even after account paid expiration (based on testing with a trial account).
I notice that there is the option to force the admin to redirect to the checkout page for what I would assume is when they login to the backend. This does not apply to all users if I understand correctly, and therefore does not disable the backend for users other then admins.
Any ways to do this?