$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>How can I disable access to plugin settings in wp admin for other roles|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

How can I disable access to plugin settings in wp admin for other roles

matteradmin8PV0评论

Hi I have a website where people can register a new account and access the site dashboard(wp-admin). But these users can also access settings of other plugins on my site. Is there a way to disable access for a certain role(contributers and authers) on my website.

I am pretty much novice in these things so hope anyone will help me in easy manner. Thank You.

Hi I have a website where people can register a new account and access the site dashboard(wp-admin). But these users can also access settings of other plugins on my site. Is there a way to disable access for a certain role(contributers and authers) on my website.

I am pretty much novice in these things so hope anyone will help me in easy manner. Thank You.

Share Improve this question edited Feb 4, 2019 at 11:07 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Feb 4, 2019 at 6:02 Milan MuhammedMilan Muhammed 11 bronze badge 1
  • Ehm, normally only an admin can do such, you must do some terrible wrong. Please take a look here in the Codex Almost would say, install this user switch and see what your users can see. – Charles Commented Feb 4, 2019 at 6:13
Add a comment  | 

1 Answer 1

Reset to default 0

Set the default user role to subscriber. So that the new user will not have access to the plugins.

You can set the default user role here.

Post a comment

comment list (0)

  1. No comments so far