Enqueue Debug Panel

Опис

Enqueue Debug Panel is a developer tool that allows WordPress administrators to:

  • View all enqueued JavaScript and CSS files with detailed information
  • See the handle, source URL, dependencies, and hook for each asset
  • Instantly dequeue or re-enqueue assets with a single click
  • Monitor changes that affect all frontend and admin users site-wide
  • Test asset dependencies and debug loading issues without code changes

The panel is only visible to administrators and does not affect the functionality of other features on your site.

Usage

  1. Visit any page on your WordPress site while logged in as an admin
  2. Click the “Debug Enqueues” button in the admin bar (top right corner)
  3. A panel will slide in from the right side showing all enqueued scripts and styles
  4. Click “❌ Dequeue” to remove an asset from loading on all pages
  5. Click “✅ Re-enqueue” to restore an asset
  6. Changes persist across page refreshes and affect all users

Features

  • Complete Asset List – See all enqueued scripts and styles with full details
  • Instant Toggle – Dequeue or re-enqueue assets without page reloads
  • Global Changes – Dequeued assets are removed for all users site-wide
  • Dependency Tracking – View dependencies for each asset
  • Hook Information – See which hook was used to enqueue the asset
  • Admin-Only Access – Panel is only visible to administrators
  • Persistent Storage – Changes are saved and persist across sessions
  • Safe & Secure – Includes nonce verification for AJAX requests

Support

For support, bug reports, or feature requests, please contact Team Webnow.

Credits

Developed by Team Webnow
Website: https://webnow.com

License

This plugin is released under the GPL v2 or later license.

Скріншоти

  • Screenshot 1 shows How you can open debug panel in frontend of your website.

Встановлення

  1. Upload the enqueue-debug-panel folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Log in as an administrator on the frontend
  4. Click “Debug Enqueues” in the WordPress admin bar at the top of the page
  5. Toggle scripts and styles to test their impact on your site

Часті питання

Does dequeuing assets affect other functionality?

No, dequeuing only removes the script or style tag from being loaded. It does not affect other functionality unless that functionality specifically requires that asset.

Will non-logged-in users see the dequeued assets?

No, dequeued assets are removed for all users, including non-logged-in users. Only administrators can make these changes through the debug panel.

Can I undo a dequeue?

Yes, simply click the “✅ Re-enqueue” button to restore any dequeued asset.

Is this plugin suitable for production?

While the plugin is safe to use, it’s primarily designed for development and testing. Be careful when dequeuing assets on production sites, as it may break functionality if critical assets are removed.

Does the plugin affect site performance?

The panel only appears to administrators and has minimal impact on site performance. The dequeue functionality is efficient and based on WordPress’ built-in wp_dequeue_script() and wp_dequeue_style() functions.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Enqueue Debug Panel” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Enqueue Debug Panel” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0.0

  • Initial release
  • Admin panel for viewing all enqueued scripts and styles
  • Instant toggle functionality for dequeuing and re-enqueueing assets
  • Global dequeue affects all users
  • Full i18n support with text domain
  • Security features including nonce verification