Info
- 5 posts
- 3 voices
- Started 3 years ago by citizenkeith
- Latest reply from citizenkeith
- This topic is not resolved
Administrator Recount
-
- Posted 3 years ago #
Is there a way to allow an administrator to access Recount in the Admin panel?
-
- Posted 3 years ago #
It's kinda (good) crazy but there's actually a role key for "recount".
update: you can make a plugin to give recount access - it will only work for those that can access admin panel
make this into a plugin:
<?php /* Plugin Name: Add Extra Caps */ function add_extra_caps($caps) { $caps['recount'] =__('Access the recount administration panel'); return $caps; } add_filter( 'get_assignable_caps', 'add_extra_caps'); ?>Install and activate it, edit their profile and check the ability for them. Then they should be able to access it.
You don't even need to keep the plugin running after that, it can be deactivated/deleted until you want to take away the ability.
-
- Posted 3 years ago #
Why is it called "Add Extra Caps"?
-
- Posted 3 years ago #
Add extra capabilities?
-
- Posted 3 years ago #
AH! Makes sense. The reason I asked is because it wasn't working and I thought there may have been some sort of error... but I just re-uploaded the file into the plugins directory, and it's working fine now.
-
You must log in to post.