WordPress plugin intelligence profile

User Admin Simplifier

Lets any Administrator simplify the WordPress Admin interface, on a per-user basis, by turning specific menu/submenu sections off.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version3.1.1
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update19 Aug 20262mo ago
Active installations10K+Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 31 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records User Admin Simplifier version 3.1.1 as active, updated 2mo ago and tested up to WordPress 7.1.

Overview

About this plugin

Lets any Administrator simplify the WordPress Admin interface, on a per-user basis. Hide any specific menu or submenu (including in the admin bar) or hide the admin bar entirely.

Menu control modes

User Admin Simplifier offers three menu control modes:

  • Per-user only – the default mode. Configure menu, submenu, and admin bar visibility for each individual user. This is the original behavior and is unchanged.
  • Role-based only – configure menu, submenu, and admin bar visibility (and menu order) once per WordPress role. Every user inherits the settings for their role. Users with multiple roles get the union of all their roles’ settings for visibility, while menu order comes from the primary role only.
  • Role-based with per-user overrides – applies the role defaults, but lets you override each menu item per user with an Inherit / Show / Hide control.

Existing per-user configurations are preserved. Existing installs see no change unless an Administrator switches modes. Regardless of mode, the User Admin Simplifier settings page (under Tools) always remains accessible to Administrators, so you can never lock yourself out.

Development

Requirements

  • PHP 7.4 or higher
  • Composer (for managing PHP dependencies)
  • Node.js and npm (for building JavaScript assets)

Setup

  • Clone the repository
  • Run composer install to install PHP dependencies
  • Run npm install to install JavaScript dependencies
  • Run npm run build to build the React application

Code Quality

This plugin uses PHPStan for static analysis to ensure code quality and type safety.

To run PHPStan:

composer install (first time only) npm run phpstan

Or directly with PHP:

php vendor/bin/phpstan analyse

The project is configured to run PHPStan at level 3 for improved reliability and maintainability.

Testing

The plugin includes PHP unit tests, end-to-end (E2E) tests, and visual regression tests.

PHP Unit Tests

Run PHP unit tests:

npm run test:php

End-to-End Tests

E2E tests use Playwright to test the plugin in a real WordPress environment.

Setup:

  • Install dependencies: npm install
  • Start WordPress environment: npm run env:start
  • Run tests: npm run test:e2e

md for detailed documentation on running and writing E2E tests.

Available E2E test commands:

  • npm run env:start – Start WordPress test environment
  • npm run env:stop – Stop WordPress test environment
  • npm run test:e2e – Run E2E tests in headless mode
  • npm run test:e2e:headed – Run E2E tests with visible browser
  • npm run test:e2e:ui – Run E2E tests in interactive UI mode
  • npm run test:e2e:debug – Run E2E tests in debug mode
  • npm run test:e2e:report – View test report

Visual Regression Testing

This plugin uses Playwright for automated visual regression testing to catch unintended visual changes during development.

Prerequisites:

  • Node.js 18 or higher
  • Playwright browsers installed (Chromium by default)

Initial Setup:

  • Install dependencies: npm install
  • Install Playwright browsers: npx playwright install --with-deps chromium
  • Build the application: npm run build

Running Visual Tests:

  • Run all visual tests: npm run test:visual
  • Run tests in UI mode (interactive): npm run test:visual:ui
  • Update baseline snapshots: npm run test:visual:update

How It Works:

Visual regression tests capture screenshots of the UI and compare them to baseline images. If there are visual differences, the tests will fail and generate a report showing what changed. This helps detect:

  • Unintended layout changes
  • CSS styling issues
  • Component rendering problems
  • Responsive design regressions

Test Coverage:

The visual tests cover:

– Initial app state (no user selected)

– User selector dropdown

– Full menu interface with user selected

– Menu list with toggle functionality

– Admin bar options

– Save and reset buttons

– Checked menu states

– Expandable submenus

– Responsive layouts (tablet and mobile views)

Updating Snapshots:

When intentional UI changes are made, update the baseline snapshots:

npm run test:visual:update

js-snapshots/ directory to ensure they match your intended changes.

CI Integration:

Visual regression tests run automatically on GitHub Actions for all pull requests and pushes to main/master branches. Test reports and snapshots are uploaded as artifacts for review.

Running All Tests

Run all tests (PHP unit tests + E2E tests):

npm run test

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • admin simplify menus submenus
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity19 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.