Change WordPress user roles and capabilities Forums How to or FAQ How to detect custom capabilities

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1577
    lori
    Participant

    Hi, I have custom capabilities defined in a plugin when the post type is being registered. WordPress recognizes the post type as normal, but the custom capabilities are not listed in the URE pro list of capabilities.

    Capabilities are mapped in the usual way, i.e.

    ‘edit_post’ => ‘edit_mycpt’, etc.

    Have tried capability type of post and ”.

    The plugin does not create any menus/submenus in the admin other than the standard ones for custom post types, taxonomies, etc.

    Is there a way to detect custom capabilities without having to add them one by one?

    Thanks!

    #1578
    Vladimir
    Keymaster

    Open “Admin Menu” for the “Administrator” role, as it should have access to the full menu. Check what capability is really used to protect those standard menu items for the custom post types.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.