Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add useful exception when hook class is invalid/missing (see #1949)
Description ----------- If an invalid class is imported, we'd always get `Warning: in_array() expects parameter 2 to be array, null given` because `get_class_methods()` returns null instead of an array. Commits ------- 1cf46e6 Add useful exception when hook class is invalid/missing d5bc83c CS
- Loading branch information