I'm developing an plugin that adds an new user role (client role, for instance). This role only extends the admin role for now.
add_role( 'client', __('Client'), get_role('administrator')->capabilities );
Now i wan't to release an new version of the plugin that update the client capabilities and remove the
Roles are persistent, so i can't just update my
My question is: how can i manage an custom role, updating it's capabilities?