The only way back there is.
WordPress keeps no record of a removed role anywhere. Whoever calls remove_role() has lost that role’s list of capabilities — for good. That is why Kakapo Roles puts every deleted role, capabilities and all, in here until you bring it back or remove it for good.
Deleted roles with their capabilities · bring back instead of rebuild
Delete a role — it lands here
Look in the trash
Bring back or remove for good
All nine plugins for €149 once instead of €13 a month. Secure payment via Stripe. For the first 14 days: problem fixed or money back.
Get lifetime — €149All nine plugins in the “Das Nest” bundle — Analytics, Consent, Backup, Performance, SEO, Security, Roles, Media and Links. Every future plugin is included at no extra charge.
Instead of €13 a month — after just under a year you pay nothing more.
Get LifetimeSecure payment via Stripe · First 14 days: problem fixed or your money back