How to limit number of WP site admins to i.e. 2. So if current WP admin wants to create new admin, old account need to be deleted. (this can be added even on database level)
I need this feature to prevent creating more admin accounts and attacks connected with this kind of actions.
Is there any plugin what supports this kind of limitations or I need custom code? Or maybe simple database procedure need to be added?