Add Capability?
-
Hey, nice plugin!
I want to know if it is possible to give a special role the capability to use the admin of this plugin.
I noticed the filter loco_admin_capability but I don’t know how to use it..
is it possible to do something like that:
$role = get_role(‘special_role’);
$role->add_cap(‘loco_admin_capability’);
in functions?ThX
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Add Capability?’ is closed to new replies.