Plugin info

Total downloads: 1,044
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/4/2017 (3330 days ago)
Added to WordPress: 1/4/2017 (9 years old)
Minimum WordPress version: 4.3
Tested up to WordPress version: 4.7.31
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3330 days ago

20/100

Is Only Admins abandoned?

Possibly abandoned (last update 3330 days ago).

Compatibility

Requires WordPress: 4.3
Tested up to: 4.7.31
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Display Environment Type
Rating 5.0/5 (4 reviews)Active installs 1,000
The Permalinker
Rating 5.0/5 (2 reviews)Active installs 100
Dev Theme
Rating 5.0/5 (1 reviews)Active installs 30
Deploy Helper
Rating 0.0/5 (0 reviews)Active installs 10
DevStage
Rating 0.0/5 (0 reviews)Active installs 10
Staging CDN
Rating 0.0/5 (0 reviews)Active installs 10

Description

Only Admins is a minimal plugin that restricts your entire WordPress site to Admins.

Best used as a MU-Plugin on Development and Staging sites.

Installation

Plugin Directory

Install Only Admins as you would any other plugin.

  1. Go to Plugins > Add New.
  2. Search for Only Admins.
  3. Download and activate.

Must-Use Plugin

Only Admins works really well as a Must-Use Plugins. MU-Plugins cannot be disabled or edited by mistake.

To install Only Admins as a MU Plugin:

  1. Download the source.
  2. Create a mu-plugins folders in your wp-content directory (if doesn’t already exist).
  3. Copy onlyadmins.php (not its enclosing folder) to mu-plugins.

Frequently Asked Questions

Can I change the required user role?

Only Admins has no configuration, so there is no interface to change the user role.

That being said, you can simply edit it (its only a few lines long).

Simply change current_user_can( 'administrator' ) to whichever role or capability you’d like.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.1

  • Log out link when no access
  • Require ABSPATH
  • Typo fix