validate_hook_usage
Validate WordPress hook usage: ensures core hooks use wpAction/wpFilter, custom hooks use action/filter, and flags raw add_action/add_filter for HookManager.
Instructions
Validate correct hook usage: wpAction/wpFilter for WordPress core hooks (never prefixed), action/filter for custom hooks (always prefixed). Detects raw add_action/add_filter that should use HookManager.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the plugin root |