Skip to:
Content
Pages
Categories
Search
Top
Bottom

Administrator Recount

Viewing 4 replies - 1 through 4 (of 4 total)

  • _ck_
    Participant

    @_ck_

    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.


    citizenkeith
    Participant

    @citizenkeith

    Why is it called “Add Extra Caps”?


    chrishajer
    Participant

    @chrishajer

    Add extra capabilities?


    citizenkeith
    Participant

    @citizenkeith

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar