Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Eclairman's User Login Blocker

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Eclairman's User Login Blocker

By eclairman
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Eclairman’s User Login Blocker lets an administrator prevent chosen user accounts from logging in, while everyone else logs in normally.

Blocked users cannot authenticate, and if they already have an active session they are redirected away from the WordPress admin.

Features:

  • Block or allow any user with a single checkbox.
  • Searchable, sortable user table showing ID, name, username, email and role.
  • Sticky table header and scrollable list for large sites.
  • Blocked users made through search filters are preserved on save.
  • No configuration required — nothing is blocked until you choose to block it.

Screenshots

Installation

  1. Upload the plugin files to the /wp-content/plugins/disable-specific-user-login directory, or install the plugin through the WordPress Plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Go to the “Disabled specific user login” menu item (or the “Settings” link on the Plugins screen) to choose which users to block.

FAQ

Who can manage the blocked users?

Only users with the manage_options capability (typically administrators) can view and change the blocked list.

What happens to a blocked user who is already logged in?

They are redirected to the site home page whenever they try to access the admin area, and they cannot log in again while blocked.

Does the plugin block anyone by default?

No. Nothing is blocked until an administrator selects users on the settings screen.

Is it safe to block an administrator?

You can, but be careful not to lock yourself out. A blocked administrator cannot log in.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Eclairman's User Login Blocker” is open source software. The following people have contributed to this plugin.

Contributors
  • eclairman

Translate “Eclairman's User Login Blocker” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • First public release.
  • Block login for individually selected users.
  • Searchable and sortable user management table with sticky header.
  • Settings reachable from a top-level admin menu and the plugin action link.
  • Admin styles and scripts moved to enqueued asset files.
  • Removes stored plugin data on uninstall.

Meta

  • Version 1.0.0
  • Last updated 10 hours ago
  • Active installations Fewer than 10
  • WordPress version 5.6 or higher
  • Tested up to 7.0.1
  • PHP version 7.2 or higher
  • Tags
    access-controlloginsecurityusers
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • eclairman

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.