Names for a set of user capabilities.

learn more… | top users | synonyms (1)

2
votes
2answers
52 views

Expire a user's secondary role after X days from it being allocated

The snippet below links a user's Easy Digital Download (EDD) download payment to allocating a secondary user role to that user. As per the example below... If a user buys a EDD download with a ...
0
votes
0answers
39 views

Displaying WordPress User Role

I have a ticket support form on my site which right now has a field which returns (in the admin area) the name of the person who submitted the form. Anyone know how I would modify this to display ...
0
votes
0answers
27 views

How to get permissions to read the post

I have a problem to make this kind of functionality within Wordpress. Three equal user groups: A, B and C. I have a list of all posts with different permission assigned to read them: posts open to ...
0
votes
2answers
58 views

Remove All in One Seo from Posts for Contributors

I am using latest version of All In One Seo Package. How can I remove metaboxes from posts for User Role: "Contributors"?
0
votes
0answers
24 views

WPMU: Sign-Up Page on each site with automatic sign-up?

I wonder how todo the following and if someone could help me with a solution for it: I have a multisite setup, where I want on each site to have their own sign-up page (e.g regular signup-template ...
0
votes
1answer
179 views

How do I apply/target css to a specific user role?

How would I apply some front end css to only a specific user role/s?
0
votes
2answers
178 views

Show Wordpress Plugin Menu(Admin) To Editor

I am an Admin of wordpress website and I have created one user with Editor role, I have installed one plugin Pretty Link(https://wordpress.org/plugins/pretty-link/) this plugin shows its menu on Admin ...
1
vote
3answers
452 views

Custom user role cannot see or modify featured image

I have created a custom post type called Event and I have enabled support for featured images in my functions.php file, but still my custom user role can not see the featured image meta box on the ...
0
votes
0answers
98 views

How to assign role to a custom registration form?

I am working on a custom registration form. How can I assign a role of "participant" to the new user? I tried many methods but did not succeed; the role change is not reflected in the admin user's ...
0
votes
2answers
2k views

Displaying which Role the current user is assigned to

Is there a section on the admin panel of my WordPress installation which just displays what role the current logged in user has? For example, I know I have administrator permissions because I know ...
0
votes
1answer
25 views

Allow signed in users (subscribers) to see their drafts

I allow signed in users to post on my site using a form. They can also save drafts. However, their role doesn't allow them to actually see their drafts so they see a 404 page. How can I allow them ...
0
votes
1answer
34 views

Allow viewing the edit screen for a post type, but not make/save/publish/update changes

I have been searching the documentation on how to do this. There is a user type manager who should be able to see the edit page of a custom post type called employees. The manager should be able to ...
0
votes
0answers
36 views

Send in for review instead of publishing posts

I'm using a script to add multiple editors to a specific post (custom post type), so when they login, they only can edit the posts they are linked to. The problem is, when a user edits a posts, he can ...
0
votes
0answers
208 views

Send email when specific user role register and block user

i've create this page to registration user on my wordpress + woocommerce. I like that Wordpress send an email to admin when specific user role register (for example scuole) and then, when registration,...
4
votes
1answer
364 views

What do unfiltered_html and unfiltered_upload actually filter?

Among WordPress' capabilities are unfiltered_html and unfiltered_upload, however I have yet to find any documentation about what specifically they allow or prevent in their filtering. The only ...
0
votes
1answer
22 views

Mutliple users editing single document in wordspress

My team is working on wordpress for documentation purpose. No I want to create a document with multiple chapters and different team members should edit different chapters. One chapter opened by one ...
0
votes
0answers
16 views

Published Status is not showing

I have a problem with wordpress. I am the administrator. When I create a post or page, it shows only draft or pending for review. I switched to default theme and deactivated all plugins but it didn't ...
0
votes
0answers
16 views

Prevent multiple roles

I have the following code which updates a user's role according to his/her Paid Membership Pro subscription: //assign role function my_pmpro_after_change_membership_level($level_id, $user_id) { //...
0
votes
1answer
27 views

Custom user roles doesn't apply changes

I have created a custom user role but something strange happens. This is the role: add_role('custom-role', 'Custom Role', array( 'activate_plugins' => false, 'delete_others_pages' => true, '...
0
votes
1answer
111 views

Assign Subscriber capabilities to a custom user role

I am creating a custom user role (client) for the application I am building, and I want this role to have extremely limited capabilities. I am using the add_role( $role, $display_name, $capabilities )...
0
votes
0answers
24 views

Different role for free and pro users in wordpress without using bbpress

I have the condition where all users are created by admin and user name and password given to them. When the created user login than pro user can create post, upload files, edit their profile but the ...
1
vote
0answers
63 views

Create Custom Multisite User Role to Reduce Capabilities

I need to create a new role for my multisite install for our Technical Account Managers so that they are only able to create/edit/remove users and create/edit/remove sites. I'm pretty sure I've ...
0
votes
0answers
20 views

User permission for specific pages

Is there a way to grant my users permission to specific pages on my site? I want for example, User A to view certain pages that are different than the pages I want User B to view. Is this possible, ...
0
votes
1answer
32 views

Multisite Admin Roles

I have a multisite with the following lines of code in my functions.php file: add_role('test', 'Test Priv', array( 'activate_plugins' => true, 'delete_others_pages' => true, '...
0
votes
0answers
13 views

User only edit CPT with slug that matches username

I'm in a situation that necessitates I complete this project within a week. So any help or specific guidance to my question would greatly appreciated. Is it possible, without creating an incredible ...
0
votes
0answers
27 views

Assign specific user type to specific plugin

I was wondering if there is a way (or even a plugin) to assign a specific user role to a certain plugin. Thanks.
1
vote
0answers
37 views

How to restrict access to specific pages on the back-end?

Before anything... I understand how roles and capabilities work. And there are tons of plugins that help you manage those. Roles and capabilities can only be so specific though. Is there "wordpress ...
0
votes
1answer
77 views

Allow non-admin users to access plug-in

I want users who are not Administrator to be able to use my Calendar plugin, but it is not available on the dashboard except to Administrator.
0
votes
0answers
24 views

Adding role according to specific logged in user

Execuse me guys,i'm trying to manage roles according to logged in users, if logged in user is author so he can add users with roles of contributor or subscriber. i've tried using 'wp_dropdown_roles' ...
0
votes
0answers
57 views

Add user role to new user admin notification email

I'm working on a plugin to try and add the user role to the new user admin notification. Just need someone to review the code and see if my approach looks right. It's pretty much the stock code from ...
0
votes
2answers
34 views

Query for user roles

How do I query for a specific user role? if (is_user_logged_in() && user_role == "user") {} The part I'm unsure about is user_role. Is there a way I can ask WordPress to check for a ...
0
votes
1answer
23 views

Wordpress User Management Departmental Managers

In wordpress is it possible to departmentalise user accounts and then have a departmental manager oversea those accounts in same department but not other departments?
0
votes
2answers
120 views

Why current_user_can('edit_comment') always true?

I am always getting TRUE for current_user_can('edit_comment'); on two different installations of WordPress (4.2.2 and 4.2.4) no matter what role the user is. Even when the user is logged out. I ...
0
votes
1answer
28 views

Let editors view post in admin but not be able to perform a save/edit

In a current project I need to be able to restrict access to posts by comparing the post's language against the languages a user has access to. This, I'm certain I can achieve. However, even if a ...
0
votes
1answer
136 views

Why does get_posts only show results for Admins or logged-out users?

I use a get_posts() call with these arguments: array(6) { ["include"]=> string(14) "1633,1634,1635" ["post_status"]=> string(3) "any" ["post_type"]=> string(10) "attachment" [...
0
votes
0answers
48 views

Restrict wordpress editors to edit posts from specific contributors

I have 6 contributors (writer) for my site, contributors can create new posts but they can not publish the posts, they can only save drafts. I have 3 editor which they have to examine the content of ...
2
votes
1answer
571 views

Query users by custom taxonomy and user role

I'm trying to make a query for users using WP_User_Query() I need to filter users by role shop_manager and custom taxonomy called shop-category and current taxonomy term ID. The code I have so far: &...
0
votes
1answer
126 views

remove wp admin menu by customer user role

I have a custom user that i'm trying to minimize access for. I have a few admin menus in the toolbar that I'd like removed but only for this customer user role. I currently have it working for ...
0
votes
1answer
48 views

Defined user role to access plugin's pages

I Have two plugin installed Job Manager and Events and i want to defined User roles to access These plugin's created pages (Plugin Pages).
0
votes
2answers
159 views

Show posts by author of membership level (Paid Membership Pro)

I am currently listing posts based on user role, with the following query: $ids = get_users( array('role' => 'author' ,'fields' => 'ID') ); $args = array( 'author' => implode(',', $...
2
votes
1answer
128 views

How to test for Super Admin

I have the following code in my mu-plugins.php file and the is_super_admin() function does not correctly result in true. I am running v4.2.4 function check_for_superAdmin() { if ( is_super_admin(...
0
votes
2answers
47 views

Switch-Case and user_role

I am trying to create a page that shows all users with a selection of details. One of those details is the user role it has. For each role I want to display a different string. In order to achieve ...
1
vote
1answer
89 views

How to let the Contributor role preview unpublished posts?

Contributors on our wordpress site can't preview posts. I'd like them to be able to preview any post (not just theirs) and this should include custom post types. I can't find a specific capability to ...
1
vote
1answer
168 views

Filter available WooCommerce payment gateways by role [closed]

I know WooCommerce is not well-received here, because it's not directly related to WordPress, but as support on the WooCommerce forums is just that terrible and people here having proven they're ...
0
votes
1answer
101 views

Add capability to a role , so user is only able to view his own posts

I have created a user role vendor. Right now i am able to give the capabilities to the users, to be able to only edit,delete etc But then the user sees all the posts irrespective of who is the ...
0
votes
2answers
553 views

get approved users only ( ultimate member plugin )

I am using UltimateMember and I have the settings configured that admin must approve registered users first. I now want to display the approved users meta information like faculty, email, etc. in the ...
1
vote
1answer
80 views

Allow Facebook to preview posts before published

I want to allow Facebook (user agent facebookexternalhit) to access scheduled posts before they're published, so it can access meta information in order to schedule a status. Currently I temporarily ...
1
vote
1answer
35 views

How are roles store in the database

I know roles are defined http://codex.wordpress.org/Roles_and_Capabilities but how are they stored in the database? For instance, how is "Super Admin" stored ie. 'super_admin'?
1
vote
1answer
115 views

Change the user role after x days

Is there a way to change back the user role after x days? When people register at my site, they have an 2 options to choose: seller or customer. I want to put an additional user role member1, and if I ...
0
votes
1answer
27 views

Apache Redirect based on WordPress permissions

On our company website, we have two different types of download permissions: One for legacy, one for current. Is there a way for me to code a redirect through Apache that will query MySQL for the ...