PHPackages                             lwplugins/lw-disable - 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. lwplugins/lw-disable

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

lwplugins/lw-disable
====================

Disable WordPress features: comments, emojis, embeds, and more.

v1.3.5(1mo ago)133[1 issues](https://github.com/lwplugins/lw-disable/issues)GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Jan 26Pushed 1mo agoCompare

[ Source](https://github.com/lwplugins/lw-disable)[ Packagist](https://packagist.org/packages/lwplugins/lw-disable)[ Fund](https://sinann.io/)[ RSS](/packages/lwplugins-lw-disable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (19)Used By (0)

Lightweight Disable
===================

[](#lightweight-disable)

Disable WordPress features: comments, emojis, embeds, and more.

[![Packagist](https://camo.githubusercontent.com/29b0ccd23872c524b4f565a3068dbe8d16b1252c0d8124fef83cd633f0d0d6be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c77706c7567696e732f6c772d64697361626c652e737667)](https://packagist.org/packages/lwplugins/lw-disable)[![PHP](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)](https://php.net)[![WordPress](https://camo.githubusercontent.com/f1989d6cd7139e0ba03c225b1eb47980a7ec6ba2a2b489beb9c01881be322852/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576f726450726573732d362e302532422d626c75652e737667)](https://wordpress.org)[![License](https://camo.githubusercontent.com/d0440b4b8a5e8a2b7516c8452fef4ca26102895b51c48b52baf82bbbd05879a3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c2d2d322e302d677265656e2e737667)](https://www.gnu.org/licenses/gpl-2.0.html)

[![LW Disable Settings](.github/screenshot.png)](.github/screenshot.png)

Features
--------

[](#features)

### General

[](#general)

- **Disable Comments** - Remove comments completely from your site

### Performance

[](#performance)

- **Disable Emojis** - Remove WordPress emoji scripts and styles
- **Disable Embeds** - Remove oEmbed discovery and scripts
- **Disable Heartbeat** - Remove WordPress heartbeat API
- **Disable Block Library** - Remove Gutenberg CSS on frontend

### Security

[](#security)

- **Disable XML-RPC** - Disable XML-RPC protocol
- **Restrict REST API** - Limit REST API to logged-in users only
- **Disable App Passwords** - Remove application passwords feature
- **Remove Generator** - Hide WordPress version meta tag

### Head Cleanup

[](#head-cleanup)

- **Remove Shortlink** - Remove shortlink from head
- **Remove RSD Link** - Remove Really Simple Discovery link
- **Remove WLW Manifest** - Remove Windows Live Writer link
- **Remove Version Strings** - Strip ?ver= from asset URLs
- **Remove Adjacent Posts** - Remove prev/next post links

### Content

[](#content)

- **Disable RSS Feeds** - Disable all RSS feeds completely

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

[](#installation)

```
composer require lwplugins/lw-disable
```

Or download and upload to `/wp-content/plugins/`.

Usage
-----

[](#usage)

### Admin UI

[](#admin-ui)

1. Go to **LW Plugins → Disable**
2. Check the features you want to disable
3. Save

### WP-CLI

[](#wp-cli)

```
# List all features and their status
wp lw-disable list

# Enable a feature
wp lw-disable enable emojis
wp lw-disable enable comments
wp lw-disable enable xmlrpc

# Disable a feature
wp lw-disable disable emojis
wp lw-disable disable heartbeat

# Enable all features at once
wp lw-disable enable-all

# Disable all features (restore WP defaults)
wp lw-disable disable-all
```

**Available features:**

FeatureDescription`comments`Comments system`emojis`Emoji scripts/styles`embeds`oEmbed system`heartbeat`Heartbeat API`block_library`Gutenberg CSS`xmlrpc`XML-RPC protocol`rest_api`REST API restriction`application_passwords`App passwords`generator`Version meta tag`shortlink`Shortlink header`rsd_link`RSD link`wlw_manifest`WLW manifest`version_strings`Asset version strings`adjacent_posts`Adjacent post links`feeds`RSS feedsLinks
-----

[](#links)

- [GitHub](https://github.com/lwplugins/lw-disable)
- [Packagist](https://packagist.org/packages/lwplugins/lw-disable)
- [LW Plugins](https://lwplugins.com)

Sponsor
-------

[](#sponsor)

[ ![Sinann](https://camo.githubusercontent.com/08cb3e29f7e91a32ff084d73f5e4c33b6ac8f3508f20dfe040357e9a94c5952b/68747470733a2f2f73696e616e6e2e696f2f66617669636f6e2e737667)](https://sinann.io/)Supported by [Sinann](https://sinann.io/)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance69

Regular maintenance activity

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Recently: every ~9 days

Total

18

Last Release

58d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56bc0e3c885c56236e52eaed12997aa4fbaf0645299acf0092a8cc5b887d65b0?d=identicon)[trueqap](/maintainers/trueqap)

---

Top Contributors

[![trueqap](https://avatars.githubusercontent.com/u/32407751?v=4)](https://github.com/trueqap "trueqap (29 commits)")

---

Tags

lightweightperformancewordpresswordpress-plugin

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/lwplugins-lw-disable/health.svg)

```
[![Health](https://phpackages.com/badges/lwplugins-lw-disable/health.svg)](https://phpackages.com/packages/lwplugins-lw-disable)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

18238.1k2](/packages/civicrm-civicrm-drupal-8)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)

PHPackages © 2026

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