Overview
Password Protected describes itself as: “Password protect your WordPress site with one password. Control access, whitelist trusted IPs, and monitor password activity.”
It is active on 300,000+ WordPress sites and rated 4.4 out of 5 by 143 users on WordPress.org. Developers can extend it through 26 actions and 36 filters, listed below.
How to install Password Protected
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Password Protected” and pick the one by Saad Iqbal.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install password-protected --activateRequirements: WordPress 6.5+ · PHP 7.4+ · tested up to WordPress 7.1.4
Hooks & customisation
Password Protected 2.8.6 fires 26 actions and 36 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter allowed captcha provider slugs before saving.
apply_filters( 'password_protected_allowed_captcha_providers', $allowed );
// Filters the cookie name
apply_filters( 'password_protected_cookie_name', $this->get_site_id() . '_password_protected_auth', $this );
// Filter extension version used for compatibility checks (tests).
apply_filters( 'password_protected_extension_compat_version', $version );
// Fires when activity report login logging should be registered.
do_action( 'password_protected_register_activity_logging' );
// Filter in admin/admin.php
apply_filters( 'password_protected_show_banner', true );
// Filter in password-protected.php
apply_filters( 'password_protected_auth_cookie_expiration', … );Need Password Protected customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with Saad Iqbal. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.