| 开发者 | dalibord |
|---|---|
| 更新时间 | 2026年3月24日 20:50 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
?wpcu URL parameter?nowpcu URL parameter<script> and <style> on the page/wp-content/plugins/code-unloaderPHP 8.0 or higher. The plugin will not activate on PHP 7.x.
Yes. Rules are stored in a custom database table and are not affected by caching plugin cache clears.
The kill switch is a one-click emergency recovery button in Settings > Code Unloader > Settings. When active, all rules are bypassed and every asset loads normally. Your rules are not deleted — they resume when you deactivate the kill switch.
Appending ?wpcu to any frontend URL will automatically open the asset panel for logged-in administrators, even on pages where the Admin Toolbar is hidden. The parameter stays in the URL while the panel is open and is removed when you close it.
Appending ?nowpcu to any frontend URL disables all Code Unloader rules for that single request — the page loads exactly as if the plugin were not active. This follows the same convention as ?nowprocket (WP Rocket) and ?ao_noptimize=1 (Autoptimize). Useful for testing, debugging, or performance scanning tools that need to measure the raw unoptimized asset baseline.
Yes. When creating a rule, choose Regular Expression as the match type. Patterns are validated before saving, and a regex warning is shown to help you keep patterns specific.
Inline blocks are <script> and <style> tags that are printed directly into the page HTML rather than being registered through WordPress's enqueue system. The Inline Blocks tab in the panel detects and lists these blocks so you can identify them.
code-unloader/ folder — resolves all PCP text domain mismatch false positives caused by wrong folder name