Remove Dashboard Access
Disable Dashboard access for users of a specific role or capability. Disallowed users are redirected to a chosen URL. Get set up in seconds.
Next Milestone 40K
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Rank Changes
Downloads Growth
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
Tracked Keywords
Showing 0 of 0| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| No keyword data available yet. | ||||
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Support Threads Overview
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.2.1
- Last Updated
- Nov 29, 2024
- Requires WP
- 3.1.0+
- Tested Up To
- 6.7
- PHP Version
- 5.3 or higher
- Author
- TrustedLogin
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 4.6
- Reviews
- 78
- Support Threads
- 1
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
Frequently Asked Questions
Common questions about Remove Dashboard Access
In <li id="wp-admin-bar-SOMETHING">, you want the "SOMETHING" part.
How can I allow access to specific pages of the Dashboard?
The function returns an associative array with $pagenow as the key and a nested array of key => value pairs where the key is the $_GET parameter and the value is the allowed value.
Example: If you want to allow a URL of admin.php?page=EXAMPLE, there are three parts to know:
The $pagenow global value (tools.php in this case)
The $_GET key (page in this case)
The $_GET value (EXAMPLE in this case)
Here is how we would add that URL to the allowlist:
/**
* Allow users to access a page with a URL of tools.php?page=EXAMPLE
*
* @param array $pages Allowed Dashboard pages.
* @return array Filtered allowed Dashboard pages.
*/
function wpdocs_allow_example_dashboard_page( $pages ) {
// If the $pages array doesn't contain the 'admin.php' key, add it.
if ( ! isset( $pages['tools.php'] ) ) {
$pages['tools.php'] = array();
}
// Now add ?page=EXAMPLE` combination to the allowed parameter set for that page.
$pages['tools.php'][] = array(
'page' => 'EXAMPLE'
);
return $pages;
}
add_filter( 'rda_allowlist', 'wpdocs_allow_example_dashboard_page' );
`
How can I 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 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:
Jetpack by WordPress.com (notifications) – 'notes'
WordPress SEO by Yoast – 'wpseo-menu'
W3 Total Cache – 'w3tc'
Can I contribute to the plugin?
Yes! This plugin is in active development on GitHub. Pull requests are welcome!
Is the plugin GDPR compliant?
Yes. The plugin does not collect any personal data, nor does it set any cookies.