承接 lwplugins/lw-zenadmin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lwplugins/lw-zenadmin

Composer 安装命令:

composer require lwplugins/lw-zenadmin

包简介

Clean up your WordPress admin — collect notices and manage dashboard widgets.

README 文档

README

Clean up your WordPress admin — notices sidebar, dashboard widgets, admin menu, and admin bar manager.

PHP WordPress License

LW ZenAdmin Settings

Before & After

Before After
Before — cluttered admin notices After — clean admin with sidebar panel

Features

Notice Collector

Collects all admin notices into a slide-in sidebar panel accessible from the admin bar.

  • Admin bar button — "Notices" label with a live badge count
  • Sidebar panel — slides in from the right with all collected notices
  • Flash-free — early CSS hides notices before JS loads
  • Dynamic — picks up notices generated during plugin updates/installs
  • Multiple close methods — Escape key, overlay click, or X button

Dashboard Widget Manager

Controls which widgets appear on the WordPress dashboard, grouped by source.

  • Auto-discovery — detects all registered dashboard widgets automatically
  • Grouped display — WordPress Core, WooCommerce, Third-party
  • Sensible defaults — Core + WooCommerce visible, Third-party hidden
  • Checkbox UI — simple table interface on the settings page

Admin Menu Manager

The WordPress admin sidebar is packed with menu items — most of which are rarely needed after the initial site setup. Media, Comments, Tools, and various plugin menus just add clutter and hurt usability, especially for non-technical users. The Admin Menu Manager lets you decide which menu items stay visible.

  • Auto-discovery — automatically detects all registered menus and submenus
  • Grouped display — WordPress Core, WooCommerce, LW Plugins, Third-party
  • Protected menus — Dashboard, Settings, Plugins, and LW Plugins can never be hidden, preventing lockouts
  • Submenu-level control — manage individual submenu items, not just top-level menus
  • Disabled by default — only activates when you enable it in the settings

Admin Bar Manager

Cache plugins (LiteSpeed, WP Rocket), SEO tools, and other plugins love adding items to the admin bar. The Admin Bar Manager lets you hide the ones you don't need.

  • Auto-discovery — detects all registered admin bar nodes automatically
  • Grouped display — WordPress Core, WooCommerce, Third-party
  • Protected items — My Account and Logout can never be hidden, preventing lockouts
  • Works everywhere — filters the admin bar on both admin pages and the frontend
  • Disabled by default — only activates when you enable it in the settings

WP-CLI

Full CLI support for toggling features, managing widgets and menus.

# Feature management
wp lw-zenadmin status
wp lw-zenadmin enable notices_enabled
wp lw-zenadmin disable widgets_enabled

# Widget management
wp lw-zenadmin widget list
wp lw-zenadmin widget show dashboard_quick_press
wp lw-zenadmin widget hide dashboard_primary
wp lw-zenadmin widget show-all
wp lw-zenadmin widget hide-all
wp lw-zenadmin widget reset

# Menu management
wp lw-zenadmin menu list
wp lw-zenadmin menu show tools.php
wp lw-zenadmin menu hide edit-comments.php
wp lw-zenadmin menu show-all
wp lw-zenadmin menu hide-all
wp lw-zenadmin menu reset

See docs/CLI.md for the complete command reference.

Installation

composer require lwplugins/lw-zenadmin

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

Usage

  1. Go to LW Plugins → ZenAdmin
  2. Toggle Notice Collector, Widget Manager, Menu Manager, and Admin Bar Manager on/off
  3. Configure widget visibility in the Widgets tab
  4. Configure menu visibility in the Menus tab
  5. Configure admin bar visibility in the Admin Bar tab

Settings

Option Default Description
notices_enabled true Enable/disable the notice collector
widgets_enabled true Enable/disable the widget manager
menu_enabled false Enable/disable the admin menu manager
adminbar_enabled false Enable/disable the admin bar manager

Widget, menu, and admin bar visibility are stored separately and can be managed from the admin UI or CLI.

Documentation

Development

# Install dependencies
composer install

# Run code sniffer
composer phpcs

# Fix coding standards
composer phpcbf

Links

License

GPL-2.0-or-later

Sponsor

Sinann

Supported by Sinann

lwplugins/lw-zenadmin 适用场景与选型建议

lwplugins/lw-zenadmin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 34 次下载、GitHub Stars 达 2, 最近一次更新时间为 2026 年 02 月 08 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 lwplugins/lw-zenadmin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 lwplugins/lw-zenadmin 我们能提供哪些服务?
定制开发 / 二次开发

基于 lwplugins/lw-zenadmin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 34
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 30
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-02-08