=== AddonLogic Hook & Filter Inspector ===
Contributors: snehalpancholi
Tags: developer tools, hooks, filters, debugging, admin bar
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Records every WordPress action and filter that fires during a page load and displays them in a searchable, filterable admin-bar panel.

== Description ==

Hook & Filter Inspector captures every `do_action` and `apply_filters` call during a page load and presents the results in a dark-mode panel accessible from the admin bar. Each hook entry shows the type, timing, and all registered callbacks with their priorities — making it easy to debug hook order, identify conflicts, and trace unexpected behaviour.

**Features:**

* Records all hooks fired during a page load (actions and filters)
* Admin bar node shows live count per page
* Full-screen searchable/filterable panel overlay
* Shows callback functions and their priorities
* Timing column (ms from request start)
* Session toggle — pause recording from the admin bar without a settings change
* Export full log as JSON for offline analysis
* Filters internal core hooks (underscore-prefixed) optionally
* Configurable max entries to limit memory on busy pages
* Only visible to administrators — zero impact on visitors

== Installation ==

1. Upload `hook-filter-inspector` folder to `/wp-content/plugins/`
2. Activate via **Plugins → Installed Plugins**
3. Visit any page — the 🔍 icon appears in the admin bar
4. Configure at **Settings → Hook Inspector**

== Frequently Asked Questions ==

= Does it affect site performance for visitors? =
No. Recording only runs for logged-in administrators.

= Can I pause recording without disabling the plugin? =
Yes — use "Disable recording (this session)" from the admin bar. A cookie stores the preference for that browser session only.

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
