Add filter to capability settings
-
Hi,
it would be great, if you add some filter to custom roles – because now I must add to role capability activate_plugins and manage_network_plugins to be able create copy to another website. The best solution is when I can set it this for specific role lie:
add_filter('my_specific_role', function($roles) { $roles['my_role_name'] = 'edit_posts'; return $roles; });
- The topic ‘Add filter to capability settings’ is closed to new replies.