Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
All Topics
mike20

How to hide admin columns for specific role ?

Hi,

Is there a way to hide admin columns for a specific user role ?

I’d like to show the default columns, as well as remove the admin columns options in « Screen options », for a specific user role.

Thanks

8 months ago
Stefan
Developer

This could be accomplished with our ‘Column Set’ feature.
You could create multiple Column Sets and assign each column set to a specific user role.
When a column set has not specific user roles assigned, it will be visible for all roles.

It’s not possible to disable a specific column for one specific user role only, unless you use the default WordPress hook to remove the column with some conditionals.
https://codex.wordpress.org/Plugin_API/Filter_Reference/manage_posts_columns
You’ll have to use a priority higher than 200 in order to overwrite the column settings set with Admin Columns Pro.

8 months ago

You must be logged in to reply to this topic.