I created some custom post types, but I would like to hide them in the […]
Tag: capabilities
edit_comment capability for subscriber
I have given my site’s subscriber role the following permissions (unserialized DB-query): [subscriber] => Array […]
Temporarily give ‘manage_options’ capability
In order to allow editors to edit other’s author meta (update_user_attribute), I must give them […]
Adding capabilities to super admins
I’m developing a plugin that uses custom capabilities. Some of those capabilities need to be […]
Limit access to page depending on user level
I’ve been asked to build a WordPress that limits access to posts with a particular […]
Prevent Editors from Editing/Deleting Admin Accounts
I need editors to be able to add/edit/delete other users. Giving them those capabilities is […]
Show Welcome Panel on Dashboard for every user
I have customised the welcome panel on the dashboard for users with information in. I […]
Apply custom role capabilities to administrator (without plugin)
I have a custom role that allows access to only a sigle custom post type. […]
Pending status by default for a specific role
I would like to prevent users from one specific role from publishing directly their articles. […]
Hooking into add_submenu_page
Ever come across a plugin that is using the manage_options capability for a page that… […]
No More Posts Available.
No more pages to load.