PHPackages                             globalis/wp-unhooked - 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. [Admin Panels](/categories/admin)
4. /
5. globalis/wp-unhooked

ActiveLibrary[Admin Panels](/categories/admin)

globalis/wp-unhooked
====================

Unhook things we don't want from WordPress core

1.0.4(2y ago)412.5k↓37.2%1GPL-2.0PHP

Since Jan 27Pushed 2y ago2 watchersCompare

[ Source](https://github.com/globalis-ms/wp-unhooked)[ Packagist](https://packagist.org/packages/globalis/wp-unhooked)[ Docs](https://github.com/globalis-ms/wp-unhooked)[ RSS](/packages/globalis-wp-unhooked/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (1)

[wp-unhooked](https://github.com/globalis-ms/wp-unhooked)
=========================================================

[](#wp-unhooked)

[![Latest Stable Version](https://camo.githubusercontent.com/5f6a29c9334a76969707c9599bdb74e16d4d61e4a4617253509d881ff24d1611/68747470733a2f2f706f7365722e707567782e6f72672f676c6f62616c69732f77702d756e686f6f6b65642f762f737461626c65)](https://packagist.org/packages/globalis/wp-unhooked)[![License](https://camo.githubusercontent.com/272ca65b53b6af3a6960627b245d09d639b4b58b1f2955db9afb13fac93dcb6b/68747470733a2f2f706f7365722e707567782e6f72672f676c6f62616c69732f77702d756e686f6f6b65642f6c6963656e7365)](https://github.com/globalis-ms/wp-unhooked/blob/master/LICENSE.md)

Disable things from WordPress core and clean administration. Have a cleaner, lighter and faster application.

[![wp-cubi](https://github.com/globalis-ms/wp-unhooked/raw/master/.resources/wp-unhooked-500x150.png)](https://github.com/globalis-ms/wp-unhooked/)

Requirements
------------

[](#requirements)

- PHP 8.0, 8.1 or 8.2

Installation
------------

[](#installation)

- `composer require globalis/wp-unhooked`
- Copy and edit this code into your wp-config.php file, or in a mu-plugin :

```
define('WP_UNHOOKED_CONFIG', [
    'disable-admin-bar' => false,
    'disable-admin-bar-comments-menu' => false,
    'disable-admin-bar-customize-menu' => false,
    'disable-admin-bar-edit-menu' => false,
    'disable-admin-bar-edit-site-menu' => false,
    'disable-admin-bar-howdy' => false,
    'disable-admin-bar-my-account-menu' => false,
    'disable-admin-bar-my-sites-menu' => false,
    'disable-admin-bar-new-content-menu' => false,
    'disable-admin-bar-recovery-mode-menu' => false,
    'disable-admin-bar-search-menu' => false,
    'disable-admin-bar-sidebar-toggle' => false,
    'disable-admin-bar-site-menu' => false,
    'disable-admin-bar-site-nav-menus' => false,
    'disable-admin-bar-site-themes' => false,
    'disable-admin-bar-site-widgets' => false,
    'disable-admin-bar-updates-menu' => false,
    'disable-admin-bar-wp-menu' => false,
    'disable-admin-dashboard-tab-help' => false,
    'disable-admin-dashboard-tab-screen-options' => false,
    'disable-admin-dashboard-welcome-panel' => false,
    'disable-admin-dashboard-widget-activity' => false,
    'disable-admin-dashboard-widget-browser-nag' => false,
    'disable-admin-dashboard-widget-incoming-links' => false,
    'disable-admin-dashboard-widget-plugins' => false,
    'disable-admin-dashboard-widget-primary' => false,
    'disable-admin-dashboard-widget-quick-press' => false,
    'disable-admin-dashboard-widget-recent-comments' => false,
    'disable-admin-dashboard-widget-recent-drafts' => false,
    'disable-admin-dashboard-widget-right-now' => false,
    'disable-admin-dashboard-widget-site-health' => false,
    'disable-admin-footer' => false,
    'disable-admin-plugins-menu' => false,
    'disable-admin-plugins-page' => false,
    'disable-admin-tab-help' => false,
    'disable-admin-tab-screen-options' => false,
    'disable-admin-themes-customize-page' => false,
    'disable-admin-themes-menu' => false,
    'disable-admin-themes-page' => false,
    'disable-admin-tools-erase-personal-data' => false,
    'disable-admin-tools-export' => false,
    'disable-admin-tools-export-personal-data' => false,
    'disable-admin-tools-import' => false,
    'disable-admin-tools-menu' => false,
    'disable-admin-tools-page' => false,
    'disable-admin-tools-site-health' => false,
    'disable-asset-versioning' => false,
    'disable-auto-updates' => false,
    'disable-block-editor' => false,
    'disable-browser-check' => false,
    'disable-capital-p-dangit' => false,
    'disable-comments' => false,
    'disable-emojis' => false,
    'disable-frontend-wp-info' => false,
    'disable-gallery-css' => false,
    'disable-php-version-check' => false,
    'disable-rest-api' => false,
    'disable-sitemaps' => false,
    'disable-smilies' => false,
    'disable-taxonomy-category' => false,
    'disable-taxonomy-post-format' => false,
    'disable-taxonomy-post-tag' => false,
    'disable-trackbacks' => false,
    'disable-translation-install' => false,
    'disable-update-notices' => false,
    'disable-xmlrpc' => false,
]);
```

Development
-----------

[](#development)

Before opening pull requests, please check and apply project coding standards with `./vendor/bin/phpcs .` and/or `./vendor/bin/phpcbf .`

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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 ~36 days

Total

5

Last Release

1061d ago

### Community

Maintainers

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

---

Tags

wordpresscleanwpadmindisableoptimizeunhook

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/globalis-wp-unhooked/health.svg)

```
[![Health](https://phpackages.com/badges/globalis-wp-unhooked/health.svg)](https://phpackages.com/packages/globalis-wp-unhooked)
```

###  Alternatives

[wecodemore/current-admin-info

Displays info about the current admin screen and its globals, contextual hooks, etc.

852.7k](/packages/wecodemore-current-admin-info)

PHPackages © 2026

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