PHPackages                             wenprise/wordpress-cleaner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wenprise/wordpress-cleaner

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wenprise/wordpress-cleaner
==========================

WordPress admin ui cleaner.

0.4(2y ago)1561MITPHP

Since Nov 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/iwillhappy1314/wordpress-cleaner)[ Packagist](https://packagist.org/packages/wenprise/wordpress-cleaner)[ RSS](/packages/wenprise-wordpress-cleaner/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (1)

wp-menu-manager
===============

[](#wp-menu-manager)

WordPress Element Cleaner

install
-------

[](#install)

```
composer require wenprise/wordpress-cleaner
```

usage
-----

[](#usage)

```
$cleaner = new Wenprise\Cleaner();

//Remove top level menu
$cleaner->remove_menu([
    'edit.php',
    'edit.php?post_type=page',
    'edit.php?post_type=activity',
    'edit.php?post_type=comm',
    'upload.php',
    'themes.php',
    'plugins.php',
    'edit-comments.php',
    'tools.php',
    'options-general.php',
]);

$cleaner->remove_submenu('index.php', 10)
             ->remove_submenu('themes.php', [6, 15, 20])
             ->remove_submenu('woocommerce', 'report')
             ->remove_submenu('elementor', 'go_elementor_pro')
             ->remove_submenu('elementor', 'go_knowledge_base_site')
             ->remove_submenu('options-general.php', [10, 15, 20, 25, 30, 40]);

//Remove post metabox
$cleaner->remove_meta_box('commentsdiv', 'post', 'side');

//Remove Dashboard widget
$cleaner->remove_meta_box('dashboard_primary', 'dashboard', 'normal')
        ->remove_meta_box('e-dashboard-overview', 'dashboard', 'normal');

//Remove admin bar links
$cleaner->remove_admin_bar_menu('wp-logo');

if ( ! current_user_can('administrator')) {
    $cleaner->remove_submenu('edit.php?post_type=staff', [15]);
}

// Remove webcome panel
$cleaner->remove_welcome_panel();
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~372 days

Total

4

Last Release

891d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0fa49958b7c45c0b373b185feb5debe5bdd35be3b3536bc44477d3bd3a2d435?d=identicon)[iwillhappy1314](/maintainers/iwillhappy1314)

---

Top Contributors

[![iwillhappy1314](https://avatars.githubusercontent.com/u/1455683?v=4)](https://github.com/iwillhappy1314 "iwillhappy1314 (23 commits)")

### Embed Badge

![Health badge](/badges/wenprise-wordpress-cleaner/health.svg)

```
[![Health](https://phpackages.com/badges/wenprise-wordpress-cleaner/health.svg)](https://phpackages.com/packages/wenprise-wordpress-cleaner)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
