WP Hook Finder

WP Hook Finder is your assistant for developing on top of an advanced parent theme, theme framework or high-end WordPress plugin. Hook Finder scans a theme or plugin of your choice and lets you know of any custom actions or filters that have been added and which functions hook on to which actions or filters.

Write a Comment

Basically there are two main issues (at least with my server), both in get_files().
– $path need the ending slash
– When merging $files array with the recursive call to get_files() you need to check if get_files() returns any value, otherwise the original $files array gets cleared.