• WordPress-ৰ বিষয়ে
    • WordPress-ৰ বিষয়ে
    • WordPress.org
    • তথ্য-পত্ৰ
    • সাহায্য
    • মতামত
  • লগিন কৰক
  • পঞ্জীয়ন কৰক
Skip to content

WordPress.org

অসমীয়া

  • গৃহ
  • প্লাগিনবোৰ
  • থীমসমূহ
  • অৱদান আগবঢ়াওক
  • ব্ল’গ
  • যোগাযোগ
  • বিষয়

Plugins

  • My Favorites
  • Beta Testing
  • Developers
Download

Protect Admin Account

By 10Horizons Plugins
  • Details
  • Reviews
  • Installation
  • Support
  • Development

Description

Protect admin accounts from being deleted or modified by other users. This plugin will always be hidden from all users other than the admin who installs it. Only users with administrator role can be protected.

This plugin might be useful if you want to share admin access with other users (like your tech guys or developers) but don’t want them to mess with your admin account. Or you could be the developer or tech guy who might need this plugin to prevent other non-technical admins from accidentally deleting or modifying your account.

Since version 0.2.0, you can protect more than just one admin account!

How It Works

  • As soon as the plugin is activated, it will store the ID of the user that activates the plugin. The plugin will then be hidden from all users other than this user.

  • You can choose which admin accounts (yourself or others) to protect. Only the user who activates the plugin can save its settings. Other users won’t see the setting page or the menu.

  • Once the admin accounts to be protected are selected on the setting page, other users and admins will NOT be able to:

    • delete the protected admin accounts.
    • access the profile edit page for the protected admin accounts.
    • change the role of the protected admin accounts.
    • select the protected admin accounts in the bulk actions on users list page.
  • Additionally, if other users or admins, under unlikely circumstances, are able to access the user profile page of the protected admin accounts with the help of some other plugins, this plugin will prevent any modification to be saved.

  • Similarly as above, if other users or admins are able to change the protected admin account’s email address via the profile page, this plugin will revert it back to the original email address.

Important Reminder

Once you deactivate the plugin, all users with the ability to manage plugins (activate_plugins capability) will be able to see the plugin. It is advised to only deactivate the plugin when you feel safe to do so. Otherwise you can just enable or disable protection from the plugin setting page.

If you want to be extra cautious (depending on your needs), you should also manually disallow file edit. This plugin doesn’t do that because some people might still need it.

define( 'DISALLOW_FILE_EDIT', true );

This plugin has NOT been tested with other user management plugins or role editor plugins. Hence its use alongside these types of plugins is not guaranteed to work as intended.

Screenshots

  • Plugin setting page.
  • Example of users list view when protection is active.
  • Error displayed when someone attempts to delete the protected admin account.
  • Error displayed when someone attempts to change role of the protected admin account.
  • Error displayed when someone attempts to edit the protected admin account.

Installation

  1. Upload plugin folder to /wp-content/plugins/ directory, or install the plugin from your WordPress dashboard Plugins>Add New.
  2. Activate the plugin.
  3. Go to Users>Protect User to configure the plugin.

FAQ

Can I protect more than one administrator account?

Yes! Since version 0.2.0, you can protect more than just one admin account.

Can I translate this plugin to my language?

Yes! You can find .pot file inside the /languages directory in the plugin’s root folder.

Does this plugin work on WordPress multisite?

This plugin has not been tested on WordPress multisite. It may or may not work on WordPress multisite.

How can I protect user with custom role or roles other than admin?

At this time, only user with administator role can be protected. This might change in future updates.

Reviews

very useful

dreamsoft ফেব্ৰুৱাৰী 5, 2021
thanks for this very useful plugin!

Great plugin! Saved me!

tosasilviu মাৰ্চ 26, 2020
Works like a champ. Thank you.
Read all 2 reviews

Contributors & Developers

“Protect Admin Account” is open source software. The following people have contributed to this plugin.

Contributors
  • 10Horizons

“Protect Admin Account” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Protect Admin Account” into your language.

Interested in development?

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

Changelog

0.2.0

  • Added new option and ability to protect more than one admin account.
  • Changed dropdown selection to tickboxes for list of admins on plugin setting page, now uses new array to store ID of protected users.
  • Added additional sanitization on update options line code.
  • Added .pot file for translation/i18n.

0.1.0

  • Initial release.

Meta

  • Version: 0.2.0
  • Last updated: 2 মাহ ago
  • Active installations: 300+
  • WordPress Version: 4.7 or higher
  • Tested up to: 5.6.2
  • PHP Version: 5.3 or higher
  • Languages:

    English (US) আৰু Portuguese (Brazil).

    Translate into your language

  • Tags:
    adminprotectuser account
  • Advanced View

Ratings

See all
  • 5 stars 2
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0
Log in to submit a review.

Contributors

  • 10Horizons

Support

Got something to say? Need help?

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • বিষয়ে
  • ব্লগ
  • হ'ষ্টিং
  • দান কৰক
  • Support
  • Developers
  • Get Involved
  • শিকক
  • Showcase
  • প্লাগিন
  • থীম
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • গোপনিয়তা
  • Public Code
  • @WordPress
  • WordPress

ক'ডেই কবিতা।