Remove Dashboard Access


  • Limit Dashboard access to admins only, admins + editors, admins + editors + authors, or limit by specific capability.
  • Choose your own redirect URL
  • Optionally allow user profile access
  • Optionally display a message on the login screen
  • (more info)

Contribute to RDA

This plugin is in active development on GitHub. Pull requests are welcome!

  • You can limit Dashboard access to Admins only, Editors or above, Authors or above, or by selecting a capability. More information on WordPress’ default roles and capabilities can be found here:

User Profile Access:

  • You can optionally allow all users the ability to edit their profiles in the Dashboard. Users lacking the chosen capability won’t be able to access any other sections of the Dashboard.

Login Message:

  • Voer een bericht in om weer te geven op het inlogscherm. Als je dit veld leeg laat, wordt het bericht uitgeschakeld.

Hiding other plugins/themes’ Toolbar menus:

  • Remove Dashboard Access removes some built-in WordPress Toolbar menus by default, but can be extended to hide menus from other plugins or themes via two filters: rda_toolbar_nodes (viewing from the admin), and rda_frontend_toolbar_nodes (viewing from the front-end).

How to find the menu (node) id:

  • In the HTML page source, look for the <li> container for the menu node you’re targeting. It should take the form of <li id="wp-admin-bar-SOMETHING">
  • In <li id="wp-admin-bar-IETS">, wil je het IETS-gedeelte

How to filter the disallowed Toolbar nodes on the front-end:

 * Filter hidden Toolbar menus on the front-end.
 * @param array $ids Toolbar menu IDs.
 * @return array (maybe) filtered front-end Toolbar menu IDs.
function wpdocs_hide_some_toolbar_menu( $ids ) {
    $ids[] = 'SOMETHING';
    return $ids;
add_filter( 'rda_frontend_toolbar_nodes', 'wpdocs_hide_some_toolbar_menu' );

Common plugin Toolbar menus and their ids:

Debug Mode

To view debugging information on the Settings > Reading screen, visit:


  • The Dashboard Access Controls settings in the Settings > Dashboard Access screen.
  • Allow users to access their profile settings (only).
  • Optional login message.


  1. Search ‘Remove Dashboard Access’ from the Install Plugins screen.
  2. Installeer plugin, klik Activeren.


Wat gebeurt er met niet-toegestane gebruikers die toegang proberen te krijgen tot het dashboard?

Users lacking the chosen capability or role(s) will be redirected to the URL set in Settings > Dashboard Access.

Waarom heb je geen optie toegevoegd om de WordPress-werkbalk uit te schakelen?

The Toolbar contains certain important links (even for disallowed users) such as for accessing to the profile editor and/or logging out. Plus, there are many plugins out there for disabling the Toolbar if you really want to.

Can I disable the redirection/profile-editing controls without disabling the plugin?

Nee. Schakel de plugin uit als je de functionaliteit niet wilt gebruiken.


15 juli 2020
It has a forced redirect always ON. Why? No reason. The warning message should pop up after login attempt in red like the wrong password message. A redirect is useless because people doesn't understand why it doesn't work and contact the admin. they don't see the message above, they want to login. When doing plugins you have to think about what real people will do.
4 mei 2020
Hi, Although this plugin may be heading down the road of Abandonment, it is still a great plugin. Been looking for, and testing plugins all day before coming across this one If totally abandon, hope some else will take over this very useful plugin; even a paid version. What a shame for such a great plugin to go up in flames.
Lees alle 71 beoordelingen

Bijdragers & ontwikkelaars

“Remove Dashboard Access” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


“Remove Dashboard Access” is vertaald in 4 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “Remove Dashboard Access” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.



  • Compatibiliteitsprobleem met bbPress en de mediarasterweergave opgelost.


  • Bump getest-tot-en-met 4.1.0
  • Diverse leesmij-wijzigingen.


Bug Fix:

  • Move options back to Settings > Dashboard Access screen to resolve conflict with page_on_front UI.



  • Instantiate as a static instance for better modularity
  • Move Dashboard Access Controls settings to Settings > Dashboard Access
  • Add optional login message option
  • Add better settings sanitization
  • New Filter: rda_default_caps_for_role – Filter default roles for Admins, Editors, and Authors
  • New Debug Mode

Bug Fixes:

  • Remove unnecessarily stringent URL mask on the redirect URL option


  • Complete herschrijving!
  • New: Limit dashboard access for Admins only or by capability
  • New: Allow/disallow edit-profile access
  • Nieuw: kies je eigen omleidings-URL
  • New Filter: rda_default_access_cap – Change default access capability
  • New Filter: rda_toolbar_nodes – Filter which back-end Toolbar nodes are hidden
  • New Filter: rda_frontend_toolbar_nodes – Filter which front-end Toolbar nodes are hidden


  • Refined DOING_AJAX check for logged-out users, props @nacin and @BoiteAWeb


  • Changed cap to manage_options, replaced PHP_SELF with DOING_AJAX


  • preg_match vervangen door admin-ajax-test. Compatibiliteit toegevoegd met herschreven dashboard-URL’s.


  • Ingezonden naar repository