-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Currently I don't manage where and when I add actions and filters.
Might come in handy to create a manager class that handles all this.
It will be a lot easier to register/de-register all hooks etc.
Differences from example:
Register in WP right away, do not use/create the run method.
Maybe later:
- Add an extra layer in there for type identifiers (
core,view,role-defaults, etc.) - Also let it handle
apply_filtersanddo_action?