UserFlow (formerly Disable Dashboard Access) is a lightweight, secure WordPress plugin designed to restrict dashboard access to administrators and authorized users. It provides robust session management and whitelisting capabilities to keep your site's backend secure.
- Dashboard Restriction: Automatically block non-admin users from accessing
/wp-admin. - User Whitelisting: Easily grant access to specific trusted users (developers, VAs, contractors) by username.
- Session Expiration Controls: Configure session timeouts from 1 to 24 hours (or custom durations up to 168 hours).
- Admin Session Security: Option to apply session timeouts to administrators for maximum security.
- Custom Redirects: Redirect blocked users to a specific internal page (e.g., custom login or welcome page) instead of the homepage.
- "Remember Me" Override: Enforce session timeouts even when users check the "Remember Me" box.
- Clean UI: Simple, native-feeling settings page for easy configuration.
- Go to Plugins > Add New in your WordPress dashboard.
- Search for
UserFloworDisable Dashboard Access. - Click Install Now and then Activate.
- Download the latest release.
- Upload the
admin-onlyfolder to your/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
UserFlow is built with extensibility in mind.
Change the required capability to access the dashboard or settings page:
add_filter( 'admon_access_capability', function( $capability ) {
return 'edit_posts'; // Allow editors to access the dashboard
} );- WordPress: 6.0 or higher (Tested up to 7.0)
- PHP: 7.4 or higher
This project is licensed under the GPLv2 or later License. See the LICENSE file for details.
Built with ❤️ by Ga Satrya