{"id":43867099,"url":"https://github.com/lwplugins/lw-disable","last_synced_at":"2026-02-12T23:01:30.646Z","repository":{"id":334689570,"uuid":"1142321151","full_name":"lwplugins/lw-disable","owner":"lwplugins","description":"Disable WordPress features: comments, emojis, embeds, heartbeat, XML-RPC, and more","archived":false,"fork":false,"pushed_at":"2026-02-08T14:10:37.000Z","size":50,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-08T21:03:28.323Z","etag":null,"topics":["lightweight","performance","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lwplugins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-26T08:55:13.000Z","updated_at":"2026-02-08T17:21:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b50316f-e32f-4b92-8fe0-51e75157dc2c","html_url":"https://github.com/lwplugins/lw-disable","commit_stats":null,"previous_names":["lwplugins/lw-disable"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/lwplugins/lw-disable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwplugins%2Flw-disable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwplugins%2Flw-disable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwplugins%2Flw-disable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwplugins%2Flw-disable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwplugins","download_url":"https://codeload.github.com/lwplugins/lw-disable/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwplugins%2Flw-disable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29385001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lightweight","performance","wordpress","wordpress-plugin"],"created_at":"2026-02-06T12:42:27.341Z","updated_at":"2026-02-12T23:01:30.641Z","avatar_url":"https://github.com/lwplugins.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightweight Disable\n\nDisable WordPress features: comments, commands, emojis, embeds, and more.\n\n[![Packagist](https://img.shields.io/packagist/v/lwplugins/lw-disable.svg)](https://packagist.org/packages/lwplugins/lw-disable)\n[![PHP](https://img.shields.io/badge/PHP-8.1%2B-blue.svg)](https://php.net)\n[![WordPress](https://img.shields.io/badge/WordPress-6.0%2B-blue.svg)](https://wordpress.org)\n[![License](https://img.shields.io/badge/License-GPL--2.0-green.svg)](https://www.gnu.org/licenses/gpl-2.0.html)\n\n## Features\n\n### General\n\n- **Disable Commands** - Remove the admin command palette (Cmd/Ctrl+K)\n- **Disable Comments** - Remove comments completely from your site\n\n### Performance\n\n- **Disable Emojis** - Remove WordPress emoji scripts and styles\n- **Disable Embeds** - Remove oEmbed discovery and scripts\n- **Disable Heartbeat** - Remove WordPress heartbeat API\n- **Disable Block Library** - Remove Gutenberg CSS on frontend\n\n### Security\n\n- **Disable XML-RPC** - Disable XML-RPC protocol\n- **Restrict REST API** - Limit REST API to logged-in users only\n- **Disable App Passwords** - Remove application passwords feature\n- **Remove Generator** - Hide WordPress version meta tag\n\n### Head Cleanup\n\n- **Remove Shortlink** - Remove shortlink from head\n- **Remove RSD Link** - Remove Really Simple Discovery link\n- **Remove WLW Manifest** - Remove Windows Live Writer link\n- **Remove Version Strings** - Strip ?ver= from asset URLs\n- **Remove Adjacent Posts** - Remove prev/next post links\n\n### Content\n\n- **Disable RSS Feeds** - Disable all RSS feeds completely\n\n## Installation\n\n```bash\ncomposer require lwplugins/lw-disable\n```\n\nOr download and upload to `/wp-content/plugins/`.\n\n## Usage\n\n### Admin UI\n\n1. Go to **LW Plugins → Disable**\n2. Check the features you want to disable\n3. Save\n\n### WP-CLI\n\n```bash\n# List all features and their status\nwp lw-disable list\n\n# Enable a feature\nwp lw-disable enable emojis\nwp lw-disable enable comments\nwp lw-disable enable xmlrpc\n\n# Disable a feature\nwp lw-disable disable emojis\nwp lw-disable disable heartbeat\n\n# Enable all features at once\nwp lw-disable enable-all\n\n# Disable all features (restore WP defaults)\nwp lw-disable disable-all\n```\n\n**Available features:**\n\n| Feature | Description |\n|---------|-------------|\n| `commands` | Admin command palette |\n| `comments` | Comments system |\n| `emojis` | Emoji scripts/styles |\n| `embeds` | oEmbed system |\n| `heartbeat` | Heartbeat API |\n| `block_library` | Gutenberg CSS |\n| `xmlrpc` | XML-RPC protocol |\n| `rest_api` | REST API restriction |\n| `application_passwords` | App passwords |\n| `generator` | Version meta tag |\n| `shortlink` | Shortlink header |\n| `rsd_link` | RSD link |\n| `wlw_manifest` | WLW manifest |\n| `version_strings` | Asset version strings |\n| `adjacent_posts` | Adjacent post links |\n| `feeds` | RSS feeds |\n\n## Links\n\n- [GitHub](https://github.com/lwplugins/lw-disable)\n- [Packagist](https://packagist.org/packages/lwplugins/lw-disable)\n- [LW Plugins](https://lwplugins.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwplugins%2Flw-disable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwplugins%2Flw-disable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwplugins%2Flw-disable/lists"}