| 开发者 | amitbiswas06 |
|---|---|
| 更新时间 | 2026年4月24日 17:37 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | 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, ensuring consistent protection.
Instead of blocking access aggressively, ClientGuard applies smart guardrails, allowing users to work freely without breaking important parts of your site.
This plugin is ideal for:
plugiva-clientguard folder to /wp-content/plugins/No. ClientGuard hides menus and guards actions, but direct URLs remain accessible unless explicitly guarded.
No. This plugin is designed to prevent accidental changes, not to secure WordPress from attacks.
Yes. Menu hiding is for visibility only. Action blocking is handled separately where needed.
Yes. ClientGuard can hide the ACF admin panel automatically when Client Mode is enabled, helping prevent accidental changes to custom fields.
All plugin settings are removed cleanly when the plugin is uninstalled.
PCGD_LOCK_CLIENT_MODE