Code Unloader

Code Unloader

Details
View on WordPress

Official plugin homepage:
https://wpservice.pro/our-products/code-unloader/

Code Unloader gives site administrators surgical control over which JavaScript and CSS files are loaded on each individual page or post.

Key Features:

  • Disable any registered JS or CSS file on any page or post
  • Exact URL, wildcard pattern (/shop/*), and full regex matching
  • Rules survive cache flushes and plugin reactivations
  • Assets grouped by plugin, theme, or WordPress Core in the panel
  • Per-page frontend panel accessible from the Admin Toolbar
  • Access panel on any page via ?wpcu URL parameter
  • Global admin screen listing all rules across the site
  • One-click kill switch to instantly restore all assets sitewide
  • Bypass all rules for a single request via ?nowpcu URL parameter
  • Conditional rules (logged-in users, WooCommerce pages, shortcodes, post types)
  • Device-type rules (desktop-only or mobile-only)
  • Inline script/style blocking for assets without registered handles
  • Inline block detection — see every inline <script> and <style> on the page
  • Rule groups for managing sets of rules as a unit
  • Full audit log of all changes
  • JSON import/export
  • Zero performance overhead on pages with no matching rules

Compatible with: WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, WooCommerce, Elementor, Divi, WP Bakery, basically everything WP related.

Requirements: PHP 8.0 or higher is required. The plugin uses modern PHP features (union types, match expressions, named functions) that are not available in PHP 7.x.

Note: It’s recommended to test changes on a staging environment before applying them to a live site. Unloading the wrong assets can break your site’s appearance or functionality.

Details

Plugin code:
code-unloader
Plugin version:
1.4.1
Author:
Outdated:
No
WP version:
6.2 or higher
PHP version:
8.0 or higher
Test up to WP version:
6.9.4
Total installations:
0
Last updated:
2026-03-24
Rating:
Times rated:
0
assets
dequeue
performance
scripts
styles