| 开发者 | amitbiswas06 |
|---|---|
| 更新时间 | 2026年9月14日 14:00 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL v2 or later |
| 版权网址: | 版权信息 |
define( 'PCGD_LOCK_CLIENT_MODE', true );
This can be added in wp-config.php or defined programmatically in custom code.
When enabled, Client Mode is forced on and cannot be turned off from the dashboard, helping maintain consistent protection.
ClientGuard also provides Sentinel, an activity and lifecycle event log for protected operations, configuration changes, bypass activity, and other ClientGuard events. Sentinel helps make changes and protection activity visible rather than leaving them unexplained.
On multisite installations, ClientGuard supports site-specific protection and Sentinel event handling while also covering relevant network-level operations.
Instead of blocking access aggressively, ClientGuard applies practical guardrails that let users continue working while reducing the chance of unintended changes.
ClientGuard is ideal for:
plugiva-clientguard folder to /wp-content/plugins/No. ClientGuard simplifies access and guards critical operations. Protection is applied to specific operations and areas rather than blocking administrators entirely.
No. Client Mode is designed to reduce administrative risks while allowing normal content management activities. Editors and administrators can continue managing content unless specific content has been protected using Content Protection.
Client Mode applies a recommended set of protections automatically. Individual protections allow site owners to choose exactly which areas should be restricted, such as plugins, themes, Appearance management, protected content, or selected administrative menus.
No. ClientGuard is designed to prevent unintended changes and control sensitive WordPress operations, not to protect WordPress from attacks.
ClientGuard simplifies the admin experience by hiding or managing certain areas to help prevent unintended changes.
Yes. ClientGuard can hide the ACF admin panel automatically when Client Mode is enabled, helping prevent accidental changes to custom fields.
Yes. ClientGuard governs available WordPress AI and Connector administration areas through Client Mode, helping prevent unintended changes to these settings and operations.
ClientGuard supports multisite installations, including site-specific protections and Sentinel event handling. Network-level plugin and theme operations are also covered where applicable.
ClientGuard removes its plugin settings and other plugin-specific data cleanly when it is uninstalled. Sentinel event logs are preserved by default and can be removed separately when developer cleanup is explicitly enabled.
PCGD_LOCK_CLIENT_MODE