How to trigger disable page through Pro Sites

I have a few if statements within sub-sites in the multisite network that I would like to have trigger the disable page that Pro Sites uses when front end/back end is disabled for sites that are not upgraded. For example, if the number of users for a sub-site goes over a certain number then show the Pro Site disable/re-enable message.

Please advise. Thank you.