Visitors have no capabilities. Not even the capability “read” which seems a bit odd to me.
Related Posts:
- What action should I hook into when adding roles and capabilities?
- What is valid timing of using current_user_can() and related functions?
- Allow Contributor to change the author of his own post?
- What’s the difference between Role and Meta capabilities; When to use map_meta_cap() filter
- How can I grant capabilities directly to users (not roles) in wp-admin?
- Disable posts, only allow to edit existing pages, not create new ones (create_posts)
- How to get all capabilities of an existing user role
- What exactly is WordPress?
- Menu capability in WordPress
- Does the “promote_users” capability allow someone to create a new admin account?
- current_user_can( ‘edit_post’, $post_id ) does not work for contributer but for administrator
- Add user capability and check against it
- Listing all capabilities in dropdown is returning boolean
- Add Media Upload Capabilities Needed for Custom Role for non-Posts
- add_cap only adding the first two in array
- How can I prevent a writer from being able to edit an article that has been scheduled?
- Check whether user can delete a given post
- Multiple Authors on Single Post
- Allow unfiltered HTML in titles for low level users?
- Allow users to set a post author
- Unify the roles and caps?
- current_user_can capabilities in the admin not working as expected
- Remove menu items from admin page and limit capabilities
- Filter list of rules based on a capability
- Using author_can() on custom post types in WordPress
- How to show a admin bar menu item only to users with certain capabilities?
- Restricted user capabilities cannot add image
- User capability per post
- How come I see a manage_categories capability but not a manage_tags capability for any users?
- Theme option editing capability problems
- Allow Contributor to edit published post and filter by page id
- Usage of current_user_can()
- Is it wise not to use only meta capabilities for certain basic post types?
- Remove capability from specific user
- Capabilities Not Changing
- Assign multiple roles , overlapping capabilities
- Administrator role capabilities
- How to get all capabilities
- Prevent all users from editing posts except admins using hooks
- WordPress remove capability post ,media completely for custom role
- Add capability to “Editor” role to be able to view all users attachments
- Why cannot author edit pages?
- Add capability to a role , so user is only able to view his own posts
- Plugin page and capabilities
- how to change capability required to view an admin page? [duplicate]
- How can restrict certain users from delete a category but can view only in wordpress?
- Delete admin edit/delete links in users list wordpress admin
- Create a Capability category to group a few custom Capabilities
- Capability to edit post slugs
- admin can not change author profile picture
- Changing capability type without altering plugin
- Can’t create new Pods pages
- Is there a way of retrieving the core WP capabilities?
- Pricing Tables admin page capability
- Best Roles and Capability on a site with review features using a front end custom post
- Not able to give editors acess to new admin menu item
- Manage Roles and Capabilities on Multi-site
- How do I create a custom role capability?
- How can I create a taxonomy meta-box with search suggestions but no new terms input?
- What’s the difference between the capability remove_users and delete_users?
- Allow Editors to edit pending posts but not draft ones
- How to let contributors to create a new revision(draft) editing their published posts
- Temporarily give ‘manage_options’ capability
- Customize users’ capabilities to change a custom post’s post status
- Hide specific admin users’ posts
- Allowing Custom Capability to Manage Plugin Options
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- Prevent user creating new users with specific roles
- Add Capabilities to Custom Post Type after it has been created [duplicate]
- Allow contributor to view own scheduled post
- Capability for allowing user to post own comments without moderation
- Prevent custom user role to add new pages
- Capabilites not working [closed]
- Allow Administrator role access to custom capabilities [duplicate]
- Problem using role_has_cap hook
- Get User Role by ID not working
- Restricted registrations or removing the ability to edit your password/email
- Adding Capabilities to a WordPress User Account
- Custom Post Type Capabilities
- How to set individual capability of post type in individual category
- bbPress plugin moderator roles
- Add capabilities via plugin for another plugin
- Make nav-menus.php available for editor
- Purpose of Adding Capability to Role But Not Grant?
- Organize WordPress site, so it can maintain with huge database
- How to get a users list by who created them?
- WordPress custom post type capabilities issue
- Custom wordpress admin page/url “You do not have sufficient permissions to access this page.”
- user_can() not working for comment authors
- Redirect admin 403 “Cheatin uh?” admin pages
- Edit and delete permissions pages and posts
- See which user role / capability is needed to use a plugin
- How to restrict subscriber editing other posts but read specific posts in backend
- Custom roles and capabilities media not work right
- Best practices to handle multilpe roles and capabilities?
- Buddy Press restrict the capability to edit users
- Cannot access wp-admin after installing SSL – user capabilities not being set
- Not allow add New Page for role ‘editor’
- How to set “manage categories” capabilities on a post type taxonomy but not on the general categories?
- Prevent author role from editing others posts